void main()
{
int i=5;
printf("%d",i++ + ++i);
}

Answer Posted / nikki

its 12..
from right to left since printf executes from right to left for processing

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the __date__ and __time__ preprocessor commands?

584


Explain spaghetti programming?

677


What was noalias and what ever happened to it?

585


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

596


Why isn't it being handled properly?

637






What is 1d array in c?

591


Why is main function so important?

606


How do we print only part of a string in c?

579


What is operator promotion?

618


What is c token?

598


What is const volatile variable in c?

565


what are the facialities provided by you after the selection of the student.

1650


What is the code in while loop that returns the output of given code?

1286


How can I read and write comma-delimited text?

611


What is header file in c?

597