C Interview Questions
-     What does static variable mean?
 
-     What is a pointer?
 
-     What is a structure?
 
-     What are the differences between structures and arrays?
 
-     In header files whether functions are declared or defined?
 
-     What are the differences between malloc() and calloc()?
 
-     What are macros? what are its advantages and disadvantages?
 
-     Difference between pass by reference and pass by value?
 
-     What is static identifier?
 
-     Where are the auto variables stored?
 
-     Where does global, static, local, register variables, free memory and C Program instructions get stored?
 
-     Difference between arrays and linked list?
 
-     What are enumerations?
 
-     What is the keyword 'extern' means?
 
-     What are register variables? What are the advantage of using register variables?
 
-     What is the use of typedef?
 
-     What is recursion?
 
-     What are the different storage classes in C?
 
-     What is difference between Structure and Unions?
 
-     What the advantages of using Unions?
 
-     What are the advantages of using pointers in a program?
 
-     What is the difference between Strings and Arrays?
 
-     what is a NULL Pointer? Whether it is same as an uninitialized pointer?
 
-     What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
 
-     What does the error 'Null Pointer Assignment' mean and what causes this error?
 
-     How can we check whether the contents of two structure variables are same or not?
 
-     How are Structure passing and returning implemented by the complier?
 
-     How can we read/write Structures from/to data files?
 
-     What is the difference between an enumeration and a set of pre-processor # defines?
 
-     What are bit fields? What is the use of bit fields in a Structure declaration?
 
-     Which bit wise operator is suitable for checking whether a particular bit is on or off?
 
-     Which bit wise operator is suitable for turning off a particular bit in a number?
 
-     Which bit wise operator is suitable for putting on a particular bit in a number?
 
-     Which bit wise operator is suitable for checking whether a particular bit is on or off?
 
-     Write a program to compare two strings without using the strcmp() function.
 
-     Write a program to concatenate two strings.
 
-     Write a program to interchange 2 variables without using the third one.
 
-     Write programs for String Reversal without using string functions.
 
-     What are the advantages of using typedef in a program?
 
-     What is the difference between the functions memmove() and memcpy()?
 
-     How do you declare the following:
 
-     An array of three pointers to chars
 
-     An array of three char pointers
 
-     A pointer to array of three chars
 
-     A pointer to function which receives an int pointer and returns a float pointer
 
-     A pointer to a function which receives nothing and returns nothing
 
 
 
 
          
      
 
  
 
 
 
 
 
 
 
 
 
 
 
No comments:
Post a Comment