main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf(i);
}
Answers were Sorted based on User's Feedback
Answer / vinod
Error.... Cannot convert int to char error at printf(i). If they replaced printf(i) to printf("%d",i) then it would be -1.
Is This Answer Correct ? | 1 Yes | 0 No |
Why is c so popular?
write a program to print infinte number
write a C program to print the program itself ?!
There seem to be a few missing operators ..
how to find anagram without using string functions using only loops in c programming
What is wrong with this declaration?
Write a program to reverse a linked list in c.
String concatenation
How can I pad a string to a known length?
I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?
Why do we use int main?
What does sizeof return c?