C Language Interview Questions and Answers - 2
Question: 6
What is an operator and Operand?
An operator is a symbol that specifies an operation to be performed on Operands.
The data items that operators act upon are called operands.
Question: 7
What is the difference between assembler, compiler and interpreter?
Assembler is a program that converts assembly level language (low level language) into machine language.
Compiler compiles entire C source code into machine code.
Whereas, interpreters converts source code into intermediate code and then this intermediate code is executed line by line.
Question: 8
What is header file in C language?
Header file is a file that contains functions declaration and macro definition for C in built library functions.
All C standard library functions are declared in many header files which are saved as file_name.h.
We are including these header files in our C program using “#include” command to make use of the functions those are declared in the header files.
When we include header files in our C program using “#include” command, all c code of the header files are included in C program. Then, this C program is compiled by compiler and executed.
Question: 9
What is keyword in C?
Keywords are pre-defined words in a C compiler. Each keyword is meant to perform a specific function in a C program.
Since keywords are referred names for compiler, they can’t be used as variable name.
Question: 10
List out some keywords available in C language?
Below are some of keywords that C language offers.
auto, double, int, struct, break, else, long, switch, case, enum, register, typedef, char, extern, return, union, const, float, short, unsigned, continue, for, signed, void, default, goto, sizeof, volatile, do, if, static, while.
- 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
Top 100+ Android Multimedia Interview Questions and Answers More
TNPSC Zoology Study Material in English Tamil Pdf More
Top 100+ Spotting Errors Questions for Bank Exams More
Top 100+ Advanced Multimedia Interview Questions 2020-2021 More
Computer Knowledge Questions for IBPS RRB Exam More