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

Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table

3 Answers   Value Labs,


Why is c fast?

1 Answers  


What is the use of void pointer and null pointer in c language?

1 Answers  


C program to find frequency of each character in a text file?

6 Answers  


what are bit fields? What is the use of bit fields in a structure declaration?

1 Answers   Flextronics, TISL, Virtusa,


explain what are pointers?

1 Answers  


How are Structure passing and returning implemented by the complier?

1 Answers   TISL,


A program to allow an input operand and operator from the operator and read on the display and output operand.

0 Answers  


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1 Answers   Aspire, Infogain,


main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail

6 Answers   TCS,


What is the difference between int and float?

3 Answers  


When c language was developed?

1 Answers  


Categories