This section covers C Programming Language questions often asked in campus interviews and freshers walk-in. This page will help job seekers who are about to attend TECHNICAL interview round.
Here you will find simple C programming questions with answers basically asked in technical interviews.
Click on any question to find out it's answers:
Question -1) What is the difference between declaring a variable and defining a variable?
Question -2) Define static variable?
Question -3) What is a register variable?
Question -4) Where is an auto variable stored?
Question -5) What is meant by scope and storage allocation of a variable or function?
Question -6) What is scope & storage allocation of extern and global variables?
Question -7) What is scope & storage allocation of register?
Question -8) What is scope & storage allocation of static and local variables?
Question -9) What is the difference between 'break' and 'continue' statements?
Question -10) What is the difference between uses of 'FOR' and 'WHILE' loops?
Question -11) Which bitwise operator is used for checking whether a particular bit is ON or OFF?
Question -12) Which bitwise operator is used for turning OFF a particular bit in a number?
Question -13) What is equivalent of multiplying an unsigned int by 2: left shift of number by 1 or right shift of number by 1?
Question -14) What is Enumeration?
Question -15) What is a structure?
Question -16) What are the differences between a structure and a union?
Question -17) What is meant by union?
Question -18) What are the advantages of unions?
Question -19) How can typedef be used to define a type of structure?
Question -20) What is enumeration constant?
Question - 21) What is the purpose of main() function?
Question -22) What are the differences between formal arguments and actual arguments of a function?
Question -23) What is call by value in functions?
Question -24) What is call by reference in functions?
Question -25) What are the differences between getchar() and scanf() functions for reading strings?
Question -26) Out of the functions fgets() and gets(), which one is safer to use and why?
Question -27) What is the difference between the functions strdup() and strcpy()?
Question -28) What is recursive function?
Question -29) What is the difference between defining and declaring a variable?
Question -30) What is a constant variable?
Question -31) What is a far pointer in C?
Question -32) What are the uses of the void data type?
Question -33) What is a pointer in C?
Question -34) What are the advantages of using pointers?
Question -35) What are the differences between malloc() and calloc()?
Question -36) What is the purpose of the free() function?
Question -37) How to use realloc() to dynamically increase size of an already allocated array?
Question -38) What is the purpose of the sizeof() operator?
Question -39) What is a wild pointer in C?
Question -40) What is the purpose of the do-while loop in C?
Question - 41) What is the size of the void pointer in C?
Question -42) What is a nested loop in C?
Question -43) What are the operations performed on C++ lists?
Question -44) How is searching in an array list carried out?
Question -45) Where can an element are inserted in an array list?
Question -46) How is deletion in an array list carried out?
Question -47) What are the advantages of array lists?
Question -48) What are the disadvantages of an array list?
Question -49) What is a linked list in C?
Question -50) What is a node?
FOR C PROGRAMS FREQUENTLY ASKED IN INTERVIEWS: Click Here.