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
What is the significance of c program algorithms?
Is void a keyword in c?
How do you define a string?
What is pragma in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Explain what is the difference between a free-standing and a hosted environment?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What standard functions are available to manipulate strings?
Explain is it valid to address one element beyond the end of an array?
What is malloc and calloc?
Explain the term printf() and scanf() used in c language?
What is && in c programming?