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 ios diff. Between %e & %f?
what is the use of pointers
Why main is used in c?
Why is c called a mid-level programming language?
How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?
Explain how do you print only part of a string?
#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain
Explain void pointer?
program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5
1 What is a Data Structure?
Explain the red-black trees?
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?