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 / rajesh
Error will be occur because the variable declaration
does`t intilized terminate symbol(;), and again same
mistake in line 5 and line 6.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain how does flowchart help in writing a program?
What is hashing in c?
write a program to generate address labels using structures?
how can I convert a string to a number?
What does the c in ctime mean?
Is main a keyword in c?
write a program fibonacci series and palindrome program in c
What are directives in c?
What is static and auto variables in c?
Where is volatile variable stored?
Explain about block scope in c?
What is typedf?
Is c still relevant?
Explain what is a pragma?
What does #pragma once mean?