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


Please Help Members By Posting Answers For Below Questions

What is the size of structure pointer in c?

610


What is conio h in c?

619


Give differences between - new and malloc() , delete and free() ?

605


Which is an example of a structural homology?

777


Write a code of a general series where the next element is the sum of last k terms.

589






How can I open files mentioned on the command line, and parse option flags?

587


How can I recover the file name given an open stream?

547


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

809


What is #ifdef ? What is its application?

640


Where are c variables stored in memory?

592


What are the different data types in C?

724


How can I delete a file?

626


Is main is user defined function?

588


Explain what is a stream?

606


how can use subset in c program and give more example

1492