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

Answer Posted / basha

I have compiled this program. The ans is 12

Is This Answer Correct ?    45 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How old is c programming language?

571


Explain the binary height balanced tree?

718


What does return 1 means in c?

579


Write a program in c to replace any vowel in a string with z?

684


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

634






State the difference between x3 and x[3].

648


What is the difference between array_name and &array_name?

774


How can I write functions that take a variable number of arguments?

621


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

669


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

656


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

641


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

640


Is it possible to use curly brackets ({}) to enclose single line code in c program?

789


how can I convert a string to a number?

591


Is there any possibility to create customized header file with c programming language?

619