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

Explain the difference between the local variable and global variable in c?

602


Is c compiled or interpreted?

667


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

609


Explain what is the difference between a free-standing and a hosted environment?

635


What is c programing language?

615






Can we declare variable anywhere in c?

535


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)

1633


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

623


What are the advantages of union?

628


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

588


What is nested structure?

573


What are two dimensional arrays alternatively called as?

661


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1450


How can I delete a file?

630


What is the difference between struct and union in C?

574