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 are variables c?
What is the code for 3 questions and answer check in VisualBasic.Net?
What are the types of variables in c?
Explain how does free() know explain how much memory to release?
In a switch statement, explain what will happen if a break statement is omitted?
What is external variable in c?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Explain argument and its types.
What is a macro?
What math functions are available for integers? For floating point?
What is cohesion and coupling in c?
Why are algorithms important in c program?
When is a “switch” statement preferable over an “if” statement?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is #pragma statements?