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 is the size of structure pointer in c?
What is conio h in c?
Give differences between - new and malloc() , delete and free() ?
Which is an example of a structural homology?
Write a code of a general series where the next element is the sum of last k terms.
How can I open files mentioned on the command line, and parse option flags?
How can I recover the file name given an open stream?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is #ifdef ? What is its application?
Where are c variables stored in memory?
What are the different data types in C?
How can I delete a file?
Is main is user defined function?
Explain what is a stream?
how can use subset in c program and give more example