C Programming Interview Questions Set 1
Categories: C Programming language
Ques. What is C language?
Ans. C is a mid-level and procedural programming language. The Procedural programming language is also known as the structured programming language is a technique in which large programs are broken down into smaller modules, and each module uses structured code. This technique minimizes error and misinterpretation.
Ques. Why is C known as a mother language?
Ans C is known as a mother language because most of the compilers and JVMs are written in C language. Most of the languages which are developed after C language has borrowed heavily from it like C++, Python, Rust, javascript, etc. It introduces new core concepts like arrays, functions, file handling which are used in these languages.
Ques. Why is C called a mid-level programming language?
Ans. C is called a mid-level programming language because it binds the low level and high -level programming language. We can use C language as a System programming to develop the operating system as well as an Application programming to generate menu driven customer driven billing system.
Ques. When was C language developed?
Ans. C language was developed in 1972 at bell laboratories of AT&T.
Ques. What are the features of the C language?
Ans. The main features of C language are given below:
a) Simple: C is a simple language because it follows the structured approach, i.e., a program is broken into parts
b) Portable: C is highly portable means that once the program is written can be run on any machine with little or no modifications.
c) Mid Level: C is a mid-level programming language as it combines the low- level language with the features of the high-level language.
d) Structured: C is a structured language as the C program is broken into parts.
e) Fast Speed: C language is very fast as it uses a powerful set of data types and operators.
f) Memory Management: C provides an inbuilt memory function that saves the memory and improves the efficiency of our program.
g) Extensible: C is an extensible language as it can adopt new features in the future.