Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 2828

"I LOVE MY COUNTRY" write a c program to get "COUNTRY MY LOVE I" as the output. Use any other programming language. It is not mandatory to use C.

ABC Infotech, ADP, College School Exams Tests, Kovair,

11 18712

write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20

4 8544

what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }

1 2392

int x=5; printf("%d%d%d",x,x<<2,x>>2);

TANCET,

2 3739

how do we remove the printed character in printf statement and write next it it

1 2228

hi, which software companys will take,if d candidate's % is jst 55%?

1119

how can i print "hello"

3 3328

difference between c and c++

3 3459

what is purpose of fflush(stdin) function

4 29065

how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"

Wipro,

4 9297

how to compare two strings without using strcmp() function??

1 3992

how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .

1 2462

what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }

9 5427

# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }

5 6131


Post New C Questions






Un-Answered Questions { C }

Where does the name "C" come from, anyway?

175


What does the && operator do in a program code?

184


Function calling procedures? and their differences? Why should one go for Call by Reference?

174


What are the different file extensions involved when programming in C?

184


What are the features of c language?

171






Explain what is a pragma?

148


What is const keyword in c?

129


What is the general form of a C program?

156


What is the use of header?

129


What is c preprocessor mean?

145


What is the size of enum in c?

143


What is #define in c?

125


Can you please explain the difference between strcpy() and memcpy() function?

145


Explain what is gets() function?

154


What is difference between structure and union?

137