C Language Interview Questions and Answers for Experienced - 5
Question: 21
What is enum in C?
Enumeration is a data type that consists of named integer constants as a list.
It starts with 0 by default and value is incremented by 1 for the sequential identifiers in the list.
Question: 22
What is variable in C?
C variable is a named location in a memory where a
Program can manipulate the data. This location is used to hold the value of the variables.
C variable might be belonging to any of the data type like int, float and char etc.
The value of the C variable may get change in the program.
Question: 23
What is the default statement used in switch case in C?
Switch case statements are used to execute only specifies case statements based on the switch expression. If switch expression does not match with any case, default statements are executed by the program.
Question: 24
What is the restriction on the declarations and/or definitions of variables?
The restriction on the declarations and/or definitions is that they must come before the executable statements in a block, and hence they appear in the beginning of a block.
Question: 25
When should the functions prototypes be made global?
When the functions can be called from more than one function.
- Top 500+ C Language Interview Questions and Answers Pdf
- C Language Interview Questions and Answers
- C Language Interview Questions and Answers for Freshers
- C Language Interview Questions and Answers for Experienced
- C Programming Interview Questions and Answers
- Embedded C Interview Questions and Answers Pdf
- Top 200+ Advanced C Language Interview Questions 2020-2021
- C Programming Question Bank with Answers Pdf
- C Programming Interview Questions and Answers for Freshers
- C Programming Interview Questions and Answers for Experienced
- C Programming Basics Questions and Answers Pdf
- 1000+ Advanced C Programming Interview Questions & Answers
- 1000+ C Interview Questions and Answers 2023 - 2024 Pdf
- 1000+ C Programming Coding Questions and Answers
- 1000+ C Basic Interview Questions for Freshers Pdf
- 1000+ C Questions and Answers Pdf
Nuclear Physics Questions for Class 10 with Answers Pdf More
Samacheer Kalvi Class 10 Science Nuclear Physics Questions More
Class 10 Science Acoustics Exam Questions & Answers Pdf More
Samacheer Kalvi Class 10 Science Acoustics Questions & Answers More
Agricultural Engineering Multiple Choice Questions and Answers Pdf More
Important Days and Years Gk Questions and Answers More
7000+ The State Executive MCQ Questions and Answers Pdf More
Verbal Ability Questions and Answers for Bank Exams More
Current Affairs TNPSC Group 1, 2, 2a, 4, Famous Personalities Quiz 2020-21 More
1,000+ Quantitative Aptitude Questions for Bank exams More