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
Explain the difference between the local variable and global variable in c?
Is c compiled or interpreted?
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
Explain what is the difference between a free-standing and a hosted environment?
What is c programing language?
Can we declare variable anywhere in c?
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)
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
What are the advantages of union?
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
What is nested structure?
What are two dimensional arrays alternatively called as?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
How can I delete a file?
What is the difference between struct and union in C?