#include<stdio.h>
void main()
{
int a,b,c;
a=b=c=1;
c=++a || ++b && ++c;
printf("%d\t%d\t%d",a,b,c);
}
Answer Posted / gopinath.j
2 1 1
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
what is stack , heap ,code segment,and data segment
What is clrscr in c?
Can you add pointers together? Why would you?
What does the c preprocessor do?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
What does %c do in c?
What is enumerated data type in c?
When should a far pointer be used?
Explain how do you list files in a directory?
What is getch?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Why is #define used?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
write a program to copy the string using switch case?