C Language

The way to code a C program

 

C Language

  • How to swap two variables without using a third variable ? (Hint: There are 2 proper ways. If you are thinking to do it using arithmetic operation on variables than thats not the proper way because addtion of two variable may cause overflow in result)
  • Whats is the difference between #define INT int and typedef int INT ?
  • What is the callback function ?
  • When one has to use malloc and when calloc ?
  • What is the difference between stack and heap ?
  • What is the difference between #include <...>  and #include "..."  format to include a file ?
  • Difference between structure and union.
  • What is bit-field structure ? What is the use ?
  • What is null pointer ? What is void pointer ? What is dangling pointer ?

Do visit the site regularly to get more and more different interview questions related to C language ...!!

 

Useful Links

 

 

 Home