Q. | Which of the following statements are correct about 6 used in the program? int num[6];
num[6]=21;
|
|||||||
|
Answer: | Option B | |
Explaination: |
The statement 'B' is correct, because int num[6]; specifies the size of array andnum[6]=21; designates the particular element(7th element) of the array |
Discussion
Your Comments Goes here... |
Name | Discussion |
---|