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
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); } }
Which header file is used for clrscr?
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
Is printf a keyword?
Why do we use null pointer?
What are header files and what are its uses in C programming?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
What is a memory leak? How to avoid it?
Explain the advantages and disadvantages of macros.
How do you sort filenames in a directory?
What are the advantages and disadvantages of pointers?
Write a simple code fragment that will check if a number is positive or negative.
How old is c programming language?
largest Of three Number using without if condition?
Explain about block scope in c?