11. |
What is the output?
void main()
|
||||||||
Answer:
Option (d) |
12. |
What is the output?
void main()
|
||||||||
Answer:
Option (a) |
13. |
What is the output?
void main()
|
||||||||
Answer:
Option (b) |
14. |
If we need to store word "INDIA" then which is correct syntax?
|
||||||||
Answer:
Option (b) |
15. |
What happens when you try to access an array variable outside its size?
|
||||||||
Answer:
Option (d) |
16. |
How many elements will be declared if an array declared like below
int a[7];
|
||||||||
Answer:
Option (b) |
17. |
How many elements will be declared if an array declared like below
int a[3][4];
|
||||||||
Answer:
Option (c) |
18. |
Which of the following is correct initialization?
|
||||||||
Answer:
Option (d) |
19. |
Which of the following is a two-dimensional array?
|
||||||||
Answer:
Option (b) |
20. |
What is the output?
void main()
|
||||||||
Answer:
Option (a) |