Mail Archives: djgpp/1998/03/01/16:05:05
I try and try and try, and can't understand how come the address of an array is the same
as the address of the first cell of it.
int Arr[SIZE];
if (Arr==&Arr) printf("Well, I give up...");
I always thought the name of an array to act as a pointer to the first value. Am I wrong
somehow?
Does this mean I can use scanf("%s",&Str)?
---------------------------------------------
Noam Rotem
John Bryce Training Centre
Tel Aviv, Israel.
03-7535803
=============================================
1. Take upon yourself an impossible mission.
2. Accomplish the mission.
3. Go back to step 1.
It's the only sane answer to modern life.
---
01/03/98
22:54:30
- Raw text -