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

Answer Posted / jignesh patel

i++=5
++i=6

so i++ + ++i = 5+6=11

Is This Answer Correct ?    6 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between malloc() and calloc() function?

623


What are the types of macro formats?

613


Differentiate call by value and call by reference?

571


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1635


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3694






how to write optimum code to divide a 50 digit number with a 25 digit number??

2757


What is the difference between pure virtual function and virtual function?

654


What is the correct declaration of main?

681


What is pivot in c?

570


What is meant by preprocessor in c?

540


Explain how does flowchart help in writing a program?

636


What is pointer and structure in c?

576


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1675


What is #define?

578


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1415