Ad

Chapter - 9: Arrays

What is the difference between the 5’s in these two expressions? (Select the correct answer)


Ad
C
Sections
4
Exercises
int num[5] ;
num[5] = 11 ;

1. first is a particular element, second is the type
2. first is array size, second is a particular element
3. first is a particular element, second is array size
4. both specify the array size


Ans: 2. first is array size, second is a particular element

Ad

© 2024 Garbage Valuegarbage value logo