main()
{
char ch='356';
Printf("%d",ch);
}



*OUTPUT*:-
-18



*Why?*



main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Wh..

Answer / nmaity

ans is wrong

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is the output of printf("%d",(scanf("%d",10));

10 Answers  


Explain how do you use a pointer to a function?

0 Answers  


What is data types?

0 Answers  


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

0 Answers   ADP,


What is the difference between union and structure in c?

0 Answers  






What are the string functions? List some string functions available in c.

0 Answers  


How can I trap or ignore keyboard interrupts like control-c?

0 Answers  


Explain built-in function?

0 Answers  


How can I invoke another program from within a C program?

8 Answers  


Why we use void main in c?

0 Answers  


Where are c variables stored in memory?

0 Answers  


What is use of integral promotions in c?

0 Answers  


Categories