Discussion
Size of the array need not be specified, when
Answer: A
Correct answer: All of these
The size may be omitted in all three cases: in a definition with an initialiser, where the compiler counts the initialisers; in a declaration such as extern int a[];, where the definition elsewhere supplies it; and in a formal parameter, where the array is adjusted to a pointer and any bound is ignored.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development