1000+ C Programming Coding Questions and Answers - 1
Question: 1
How global variables are declared?
Global variables are accessed in the functions of a program stored in one file. If the global variables have to be accessed by the functions in a file other than the one in which they are declared, the extern storage class can be used. The extern variables have global scope and the lifetime is throughout the execution of a program.
Question: 2
What is the difference between for loop and while loop?
The for loop is a definite repetition loop where we know in advance exactly how many times the loop will be executed. The while loop is preferred when the number of repetitions is not known before the loop begins executing.
Question: 3
What is local variable?
Local variables are the variables those are declared, defined and used within a function.
Question: 4
What is storage class?
Storage class is one of the attributes that is associated with the variable. C provides four storage classes. They are
Auto
Static
Register
Extern
Question: 5
What is walkthrough?
When a pseudo code or flow chart for an algorithm is given a method of checking the way in which a computer will work using this is called a walkthrough.
- 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
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
100+ Verbal Ability Transformation Questions and Answers More
Computer Awareness Online Test | Ebooks Free Download More
TNPSC Group 1 Last 10 Years Question Papers with Answers Pdf More
Gk Famous Womens in India More
7000+ General Awareness Questions asked in SBI PO Pdf More