Discussion
Which of the following cannot be static in C?
Answer: D
Correct answer: None of the mentioned
Variables and functions can both be static, which gives them internal linkage or, for a local variable, a lifetime as long as the program’s. A structure variable can be static too. What cannot be static is a structure type - but a type has no storage class in the first place.
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