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
Explain how do you print an address?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Explain how can I manipulate strings of multibyte characters?
how to make a scientific calculater ?
Explain what is the benefit of using an enum rather than a #define constant?
What does emoji p mean?
in iso what are the common technological language?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Explain how do you sort filenames in a directory?
What does c mean?
What is the difference between printf and scanf )?
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(); }
Why can’t constant values be used to define an array’s initial size?
How can variables be characterized?
what will be the output for the following main() { printf("hi" "hello"); }