What will be the output of
x++ + ++x?
Answer Posted / sadashiv
these type of expression evaluation is dependent on
compiler
if u use turbo c and x =1;
then answer would be
main();
int x=1,y.
y = x++ + ++x.
printf /n'%d',y.
here y = 4
Is This Answer Correct ? | 143 Yes | 32 No |
Post New Answer View All Answers
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
program to convert a integer to string in c language'
What is c system32 taskhostw exe?
Why void is used in c?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What are the advantages and disadvantages of pointers?
Who is the founder of c language?
What are unions in c?
What are preprocessor directives?
If the size of int data type is two bytes, what is the range of signed int data type?
What does double pointer mean in c?
Give basis knowledge of web designing ...
What language is c written?
Can we assign string to char pointer?