output for following code???

main()
{
int x=2,y,z;
x*=3+2;
printf("1.%d\n",x);
x*=y=z=4;
printf("2.%d %d %d\n",x,y,z);
x=y==z;
printf("3.%d\n",x);
x==(y=z);
printf("%d",x);
}

Answer Posted / manikanta

1.10
2.40 4 4
3.1
1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

1959


Which header file is used for clrscr?

582


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

609


Is printf a keyword?

762


Why do we use null pointer?

607






What are header files and what are its uses in C programming?

638


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5464


What is a memory leak? How to avoid it?

577


Explain the advantages and disadvantages of macros.

624


How do you sort filenames in a directory?

714


What are the advantages and disadvantages of pointers?

578


Write a simple code fragment that will check if a number is positive or negative.

708


How old is c programming language?

579


largest Of three Number using without if condition?

1009


Explain about block scope in c?

661