Below we have listed all the C Interview Questions and answers. Feel free to comment on any C Interview Questions or answer by the comment feature available on the page.
To buy an eBook containing 30,000 Interview Questions, with Answers, Click Here.
View All C Interview Questions & Answers - Exam Mode /
Learning Mode
C is a high-level and general purpose programming language that is ideal for developing firmware or portable applications. Originally intended for writing system software, C was developed at Bell Labs by Dennis Ritchie for the Unix Operating System (OS) in the early 1970s. With the increasing popularity of object-oriented programming, C is being rapidly replaced as "the" programming language by C++, a superset of the C language that uses an entirely different set of programming concepts, and by Java, a language similar to but simpler than C++, that was designed for use in distributed networks.
Subcategories for C Interview Questions & Answers :-
Following are sub categories for which Interview Questions & Answers are available under C Interview Questions & Answers. Please select the appropriate sub-category:-
![]() |
What are the advantages of pointers,give me programs containing variables and pointer variables? | ![]() |
|
![]() |
What is the purpose of realloc( ) ? | ![]() |
|
![]() |
What would be the output of the following program? main() { char near * near *ptr1; char near * far *ptr2; char near * huge *ptr3; printf("%d %d %d",sizeof(ptr1),sizeof(ptr2),sizeof(ptr3)); } |
![]() |
|
![]() |
What is the draw back in using friend function in c++ |
![]() |
|
![]() |
What is the difference between object and reference? | ![]() |
|
![]() |
Can you tell me how to check whether a linked list is circular ? | ![]() |
|
![]() |
In which line of the following, an error would be reported? 1. #define CIRCUM(R) (3.14*R*R); 2. main() 3. { 4. float r=1.0,c; 5. c= CIRCUM(r); 6. printf("n%f",c); 7. if(CIRCUM(r))==6.28) 8. printf("nGobbledygook"); 9. } |
![]() |
|
![]() |
What would be the output of the following program? main() { const int x=5; int *ptrx; ptrx=&x; *ptrx=10; printf("%d",x); } |
![]() |
|
![]() |
What is Preprocessor ? | ![]() |
|
![]() |
main() { signed int bit=512, i=5; for(;i;i--) { printf("%dn", bit >> (i - (i -1))); } } |
![]() |
|
![]() |
What is hashing ? | ![]() |
|
![]() |
What are bit fields? What is the use of bit fields in a structure declaration? | ![]() |
|
![]() |
Write down the equivalent pointer expression for reffering the same element a[i][j][k][l]? | ![]() |
|
![]() |
Can there be a mouse click and drag function used together to rotate a circle in c?please give which are they? | ![]() |
|
![]() |
How to write a program to print its own source code? | ![]() |
|
![]() |
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcpy(a,b)); } |
![]() |
|
![]() |
What is page thrashing ? | ![]() |
|
![]() |
How to write a program for pascal triangle? | ![]() |
|
![]() |
How abstraction done in C? | ![]() |
|
![]() |
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps? | ![]() |
India News Network |