main() {
int x=2, y=4
if ((x==2||y==4)
x++
y++
if (y==4+1)
{
x=x+y;
}
y++;
printf("The values of x and y are %d and %d."x,y);
}
What is the output?
Answer Posted / kirthi s
x=2.y=4
| Is This Answer Correct ? | 2 Yes | 14 No |
Post New Answer View All Answers
How can variables be characterized?
Why is c not oop?
Simplify the program segment if X = B then C ← true else C ← false
What are the features of the c language?
What is the purpose of the statement: strcat (S2, S1)?
Explain how do you declare an array that will hold more than 64kb of data?
Are the expressions * ptr ++ and ++ * ptr same?
What is the correct declaration of main?
If you know then define #pragma?
How are Structure passing and returning implemented by the complier?
What are unions in c?
What is enumerated data type in c?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Why is c still so popular?