What's the difference between a and int a? this a my hw question idk how to explain or the know the difference..can you show me the difference with an example?
If this even compiles, I would assume the compiler is assuming that a[ 4 ] is an array of four ints. Even if it does, this is not a good choice in my opinion.
So if they are both integer arrays I would say the difference is -3? ;)
Duh! Much better answer, kinley. I looked at his question being declarations of arrays. Thanks for straightening me out!
The first, a, is an expression. The second, int a, is a declaration.