Friday, January 4, 2008

If a is an array, is a++ valid?

1 comments:

Anonymous said...

Valid.
Coz here 'a' is d address of 1st location,so 'a++' increments d address n tat depends on d type of d array(say 'int a[];',here 'a++' increaments d address by 4 in 32 bit system,now 'a' points to next location.)