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
Gross Domestic Product and Its Growth Class 10 Questions Pdf More
Industrial Cluster in Tamil Nadu TNPSC Questions Pdf More
Food and Security TNPSC Questions Pdf More
Economics Food Security and Nutrition Class 10 Questions Pdf More
Class 10th Social Indian Constitution Pdf More
TNPSC Biology MCQ Questions and Answers More
100+ Verbal Reasoning Questions and Answers for Competitive Exams More
VB.Net Interview Questions and Answers Pdf More
100+ Problems on Trains Questions for Bank Exams More
Samacheer Kalvi 6th Social Science Guide More