main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf(i);
}
Answer Posted / 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 |
Post New Answer View All Answers
What is the purpose of ftell?
Explain what is the difference between text files and binary files?
What are the standard predefined macros?
What is a spanning Tree?
write a proram to reverse the string using switch case?
What are identifiers in c?
Hai what is the different types of versions and their differences
What is a char c?
What is equivalent to ++i+++j?
What is the purpose of the preprocessor directive error?
Explain the difference between getch() and getche() in c?
What is pointer to pointer in c with example?
What is the difference between functions abs() and fabs()?
How can I change their mode to binary?
Which of these functions is safer to use : fgets(), gets()? Why?