1000+ C Questions and Answers Pdf - 1
Question: 1
How will you declare pointer variable?
A pointer variable is declared as
int*y;
The above declaration is a pointer variable declaration. Here, y is a pointer variable whose type is an integer pointer (int *).
Question: 2
What is the difference between an array and a structure?
Array
1. An array is a collection of elements of same data type.
2. An array is a homogeneous collection. Structure.
Structure
1. A structure is a collection of elements of different data types.2. A structure is a heterogeneous collection of elements.
Question: 3
Which data type is suitable to store real value?
To store the real (float) values the type double is used. It occupies 8 bytes in the memory.
Question: 4
What is stack?
A stack is a last in first out (LIFO) structure. In C language, when a function is invoked, its parameters are stored onto a stack from right to left.
Question: 5
What is the memory allocation of primary data type?
An integer requires 2 bytes of memory to store its value, a float requires 4 bytes of memory and a character requires 1 bytes of memory.
- 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
GATE Chemical Engineering Questions and Answers More
GATE 2024-2025 Question Paper Pdf Download More
Banking Awareness Questions 2024-2025 More
Computer Quiz Questions for Bank Exams More
Computer Quiz Questions for Bank Exams More
1000+ Manufacturing, Industrial & Maintenance Engineering MCQ Questions More
TRB Home Science Syllabus Pdf and Study Materials More
GATE Physics Quiz Questions and Answers More
MS Excel Multiple Choice Questions and Answers More
100+ Computer Knowledge Questions for IBPS/SBI Exams More