Top 20 C Viva Questions with Answers (Easy Guide)
π» Top 20 C Viva Questions with Answers (Easy Guide)
Hello everyone π
Welcome back!
Preparing for practical exams or viva? These top 20 C viva questions with answers will help you revise quickly and score better π
---
π Why These Questions?
- Frequently asked in viva
- Simple explanations
- Perfect for students
---
π Basic Questions
1. What is C?
C is a procedural programming language used for system programming.
---
2. What is a variable?
A variable stores data values.
---
3. What are data types?
int, float, char, double
---
4. What is printf()?
Used to display output.
---
5. What is scanf()?
Used to take input.
---
6. What is an operator?
Symbol used to perform operations.
---
7. What is a loop?
Used to repeat tasks.
---
8. Types of loops?
for, while, do-while
---
9. What is an array?
Collection of elements.
---
10. What is a function?
Reusable block of code.
---
π Important Viva Questions
11. What is a pointer?
Stores address of another variable.
---
12. What is NULL?
Represents no value.
---
13. What is recursion?
Function calling itself.
---
14. What is structure?
User-defined data type.
---
15. What is file handling?
Reading/writing files.
---
16. Difference between while and do-while?
while → checks condition first
do-while → runs at least once
---
17. What is header file?
Contains declarations.
---
18. What is main()?
Starting point of program.
---
19. What is break statement?
Stops loop.
---
20. What is continue?
Skips iteration.
---
⭐ Tips for Viva
- Revise daily
- Speak confidently
- Understand concepts
---
π Conclusion
These were top 20 C viva questions.
Prepare them well to score high in exams π
---
π’ Also Read
- C Programs
- Python Interview Questions
- C++ Notes
---
π Save and share this post π
π Follow for more coding content π»
Comments
Post a Comment