Friday, June 1, 2012

Very common C Interview questions answers programs

In this post you can find some very general and basic commonly asked c interview questions programs solved. If you are properly trained in C language and have good knowledge of basic concepts of your programming in c course content then it would be easy for you to crack such cool interview question. For more help on C Interview questions you must check out this page which has huge collection of best c interview puzzles.

Sample program questions with code :

Write a program in C to display a message without using semi colon anywhere in program

#include <stdio.h>
void main()
We can write the printf inside while or switch as well for same result.

Write a c program to add two numbers without add operator?
Use two subtract operators together to work as add operator.
#include <stdio.h>
#include <conio.h>
int main(){
          int a=1,b=2,c;
          return 0;