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


Please Help Members By Posting Answers For Below Questions

the question is that what you have been doing all these periods (one year gap)

1623


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

630


What is equivalent to ++i+++j?

648


What is indirection?

657


What will the preprocessor do for a program?

595






What is selection sort in c?

613


Explain function?

666


How can I read and write comma-delimited text?

625


How pointer is different from array?

585


Discuss the function of conditional operator, size of operator and comma operator with examples.

682


Tell me the use of bit field in c language?

634


How macro execution is faster than function ?

673


What is c++ used for today?

672


Explain what is a stream?

613


What is main function in c?

551