void main()
{
int x=25,y=32;
clrscr();
x=x++ + y++;
y=++x + ++y;
printf("%d%d",x,y);
}
Answers were Sorted based on User's Feedback
Answer / myfriend_shankar
ans is 59 93
because
void main()
{
1.x=x++ + y++; 25+32 (bcoz of x=x++ so) 26+32=58
2.y=++x + ++y; 59+34=93(after this x=59)
(becoz of x=x++ the last value 59 be the x value)
Is This Answer Correct ? | 13 Yes | 1 No |
if you put the values x=25 and y=32 so both values will be simply added because there will proceed clrscr() command .
so write answer is 57 ,61.
Is This Answer Correct ? | 11 Yes | 8 No |
What is use of null pointer in c?
Do you know what is a programing language ?
what are enumerations in C
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
main() { int i=5; printf("%d%d%d%d",i++,i--,i); }
What are the features of c languages?
What should be keep precautions while using the recursion method?
what is the c.
What functions are used for dynamic memory allocation in c language?
When should the volatile modifier be used?
What is preprocessor with example?
Why doesn't the code "a[i] = i++;" work?