if a is an integer variable, a=5/2; will return a value

a) 2.5

b) 3

c) 2

d) 0


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Can 'this' pointer by used in the constructor?

0 Answers  


Explain the red-black trees?

0 Answers  


Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error

8 Answers   IBM,


main() { float a=8.8; double b=8.8; if(a==b) printf("Equal"); else printf("not equal"); getch(); } what is the output? with reason

6 Answers   CSC,


What 'lex' does?

0 Answers   Tech Mahindra,






How can a number be converted to a string?

1 Answers  


What is pragma in c?

0 Answers  


what is the code to display color fonts in the output?

1 Answers  


Why we use conio h in c?

0 Answers  


Where local variables are stored in c?

0 Answers  


What is the heap?

0 Answers  


Explain output of printf("Hello World"-'A'+'B'); ?

0 Answers  


Categories