C Programming Questions Answers
C Programming Questions Answers
Question 1:
What are the different types of programming languages? Explain with examples.
Answer:
1. Machine Language:
2. High-Level Language:
Question 2:
What is the C programming language, and what are its key features?
Answer:
1970s.
Key Features:
Example:
#include <stdio.h>
Question 3:
Answer:
Example:
#include <stdio.h>
void main() {
int sum = a + b;
Question 4:
What are identifiers and keywords in C? Explain with examples.
Answer:
- Must start with a letter and can contain digits and underscores.
Example:
Question 5:
Answer:
#include <stdio.h>
void main() {