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 |
main() { clrscr(); } clrscr();
what are the languages used in c#?
What are actual arguments?
What is function prototype in c with example?
main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....
how to swap four numbers without using fifth variable?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Is javascript written in c?
Why isn't it being handled properly?
How can you invoke another program from within a C program?
what is the use of fflush() function?
Tell about strtok & strstr functions
2 Answers HCL, iFlex, Motorola,