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);
}
Answers were Sorted based on User's Feedback
Is c easy to learn?
what is the difference between 123 and 0123 in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is the scope of local variable in c?
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
How many types of operator or there in c?
1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file
How can I make a program in c to print 'Hello' without using semicolon in the code?
9 Answers C DAC, Practical Viva Questions,
What is the right type to use for boolean values in c? Is there a standard type?
Fifty minutes ago if it was four times as many mints past 3 o clock. how many minutes is it to six o'clock n how....?????
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
What is sorting in c plus plus?