c puzzle
Tagged Discussions
dholey
@dholey (1383)
• India
6 Feb 07
WHAT WILL BE THE OUTPUT .. EXPLAIN IT WITH REASON ........
(for turbo c / turbo c++ IT MA HAVE OTHER OUTPUT IN OTHER COMPILER )
void main ()
{
float a=0.9;
if(a
5 responses •
1 person
dholey
@dholey (1383)
• India
4 Feb 07
PLEASE TELL ME THE OUTPUT WITH REASON ........
void main()
{
signed i=-1;
unsigned j=1;
if(ij)
printf(" TRUE ");
else
printf(" FALSE ");
}
WHAT IS THE...
2 responses •
1 person
dholey
@dholey (1383)
• India
23 Jan 07
/* what will be the output explain it in detail why it is there */
void main()
{
int x=10,y=5,z;
z= (x=10 && y=6)?100:200;
printf("\n z = %d ",z);
}
please be specific ......
6 responses •
2 people
dholey
@dholey (1383)
• India
27 Nov 06
here is a c puzzle: can u tell me the output...
void main()
{
int x=10;
printf("\n\t%d%d%d%d",--x,--x,x++,++x); }
12 responses •
3 people
