+ 2

num[1]==[1]num are same or different.And if different then how?

int num[]={1,2,3,4,5,6};

30th Aug 2018, 8:09 AM
Anshuman Sethia
Anshuman Sethia - avatar
4 Answers
+ 2
How it is different?
30th Aug 2018, 8:15 AM
Anshuman Sethia
Anshuman Sethia - avatar
+ 2
num[1] is accessong the second element of num. [1]num should cause an error.
30th Aug 2018, 10:43 AM
Paul Grasser
Paul Grasser - avatar
+ 1
Different.
30th Aug 2018, 8:14 AM
Paul Grasser
Paul Grasser - avatar
+ 1
Thanks
30th Aug 2018, 2:03 PM
Anshuman Sethia
Anshuman Sethia - avatar