A
aarklon
Hi all,
I have read in Peter Van Der Linden's book array name decays to
pointer to the first element of the array in expressions
except in 3 circumstances namely
(1) sizeof() (2)& (3)string literal initializer
now my question are
1) does the same holds for function names...????
2) is it because of the fact that array name decays to pointer to
first element of the array,that we don't use & whenever reading a
string
using scanf function...????
I have read in Peter Van Der Linden's book array name decays to
pointer to the first element of the array in expressions
except in 3 circumstances namely
(1) sizeof() (2)& (3)string literal initializer
now my question are
1) does the same holds for function names...????
2) is it because of the fact that array name decays to pointer to
first element of the array,that we don't use & whenever reading a
string
using scanf function...????