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

why integer range between -327680to+32767

2 Answers  


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

1 Answers   TCS,


What is cohesion in c?

0 Answers  


What is a constant and types of constants in c?

0 Answers  


what is the importance of spanning tree?

0 Answers  






Is int a keyword in c?

0 Answers  


what does static variable mean?

0 Answers   TCS,


What is data types?

0 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


main is a predefined or user define function if user defined why? if predefined whay?

12 Answers   TCS,


write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC

2 Answers   HCL,


Explain what is a static function?

0 Answers  


Categories