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
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What is difference between %d and %i in c?
how many errors in c explain deply
Can we assign string to char pointer?
What is pivot in c?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
Can you please explain the difference between strcpy() and memcpy() function?
Explain what’s a signal? Explain what do I use signals for?
What does %p mean?
Write a code to generate divisors of an integer?
Why can’t constant values be used to define an array’s initial size?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Explain the difference between getch() and getche() in c?
pierrot's divisor program using c or c++ code
What is array of pointers to string?