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
Is c still relevant?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Explain how can I remove the trailing spaces from a string?
Write a program to print factorial of given number without using recursion?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is preprocessor with example?
Process by which one bit pattern in to another by bit wise operation is?
Why c is a mother language?
Write a program which returns the first non repetitive character in the string?
What is hash table in c?
What do you know about the use of bit field?
What is a structure in c language. how to initialise a structure in c?
What is pragma c?
which type of aspect you want from the student.
What is the use of function overloading in C?