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
What does it mean when a pointer is used in an if statement?
What is the purpose of clrscr () printf () and getch ()?
what is the difference between class and unio?
What is use of bit field?
What is the difference between void main and main in c?
What is function prototype?
What is the difference between far and near in c?
What are operators in c?
What is a c token and types of c tokens?
When c language was developed?
What does the c in ctime mean?
What is the correct code to have following output in c using nested for loop?
Explain the difference between exit() and _exit() function?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
code for quick sort?