Oh Sorry errata!!! in the second sentence it is a+1 which will point to next element in the array.
On Mon, Aug 8, 2011 at 8:02 PM, payel roy <[email protected]> wrote: > Yes it is... &a+1 will point to starting address of a + 12 * size of int. > byte. > > > On 8 August 2011 19:59, Brijesh Upadhyay <[email protected]>wrote: > >> int main() >> { >> int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12}; >> printf("%u %u %u",a, a+1,&a+1); >> getch(); >> } >> >> how &a+1 is valid..?? please explain >> >> -- >> Regards, >> Brijesh Upadhyay >> CSE , final year. >> Thapar University >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards Rajeev N B <http://www.opensourcemania.co.cc> "*Winners Don't do Different things , they do things Differently"* -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
