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 / pandu
x=8,y=6
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
Did c have any year 2000 problems?
Explain 'bus error'?
Is null always defined as 0(zero)?
What is the meaning of && in c?
Is it cc or c in a letter?
What is c preprocessor mean?
Tell us two differences between new () and malloc ()?
explain what is fifo?
What are logical errors and how does it differ from syntax errors?
What do you mean by dynamic memory allocation in c? What functions are used?
Explain the properties of union. What is the size of a union variable
Why is sizeof () an operator and not a function?
When can you use a pointer with a function?
What are the similarities between c and c++?
What are the advantages of using Unions?