What will be the output of
x++ + ++x?

Answer Posted / pardeep

answer illl always be 4
value of x ill be 2+2
it willincrement only in 2nd case th ++x

Is This Answer Correct ?    4 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you print an address?

652


What does the characters “r” and “w” mean when writing programs that will make use of files?

847


Explain how can I manipulate strings of multibyte characters?

773


how to make a scientific calculater ?

1552


Explain what is the benefit of using an enum rather than a #define constant?

710






What does emoji p mean?

591


in iso what are the common technological language?

1624


How would you use the functions fseek(), freed(), fwrite() and ftell()?

694


Explain how do you sort filenames in a directory?

595


What does c mean?

583


What is the difference between printf and scanf )?

581


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

1855


Why can’t constant values be used to define an array’s initial size?

824


How can variables be characterized?

1637


what will be the output for the following main() { printf("hi" "hello"); }

9297