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
What 'lex' does?
What is #include stdio h?
Who is the main contributor in designing the c language after dennis ritchie?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Do variables need to be initialized?
How are portions of a program disabled in demo versions?
what is the function of pragma directive in c?
What is the use of #define preprocessor in c?
What is the size of enum in c?
What is dangling pointer in c?
What is static and volatile in c?
What is 2c dna?
What is c definition?
How to Throw some light on the splay trees?
Is swift based on c?