main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf("%d",i);
}
Answer Posted / rameshp
ans s -1
Bec
while(1!=0) this s false..so next line don't exec..
so i-- means 0--= -1
finally we get -1
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How to compare array with pointer in c?
What does %d do in c?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
is it possible to create your own header files?
What is the right way to use errno?
Write a program to know whether the input number is an armstrong number.
Explain union. What are its advantages?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
what is the role you expect in software industry?
What is the size of enum in c?
What is assignment operator?
What is data type long in c?
What is c definition?
How do you define a function?
Can we increase size of array in c?