C Language Interview Questions and Answers - 6
Question: 26
How do you close the file?
The file is closed by the statement fclose(file_pointer);
Question: 27
A program can contain more return statements?
Yes. The program can contain any number of return statements.
Question: 28
What are all loop controls statements in C?
Loop control statements in C are used to perform looping operations until the given condition is true. Control comes out of the loop statements once condition becomes false.
There are 3 types of loop control statements in C language. They are.
for
while
do-while
Question: 29
What is meant by protocol?
Protocol is nothing but a set of rules to be followed by a programmer.
Question: 30
What is the use of “goto” statement?
goto statement is used to transfer the normal flow of a program to the specified in the program. Below is the syntax for goto statement in C.
{
……..
goto label;
……
…….
LABEL :
statements;
}
- 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
Samacheer Kalvi Class 10 Science Acoustics Questions & Answers More
Agricultural Engineering Multiple Choice Questions and Answers Pdf More
Soil, Water Conservation Engineering, Hydrology, Surveying MCQ Questions More
Irrigation and Drainage Engineering, Wells & Pumps MCQ Questions Pdf More
Agricultural Engineering Farm Power MCQ Questions and Answers More
1000+ Disk Operating System MCQ Questions and Answers More
Chola Empire General Knowledge Questions and Answers More
1000+ Current Electricity Multiple Choice Questions with Answers Pdf More
100+ Ratio and Proportion Questions with Solutions Pdf More
Power Semiconductor Device and Integrated Circuits MCQ Questions Pdf More