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 time complexity c?
Tell me when would you use a pointer to a function?
What are the advantages of union?
Tell me when is a void pointer used?
What does c mean in basketball?
What is the description for syntax errors?
i want to know the procedure of qualcomm for getting a job through offcampus
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Difference between MAC vs. IP Addressing
How can I get back to the interactive keyboard if stdin is redirected?
What are different storage class specifiers in c?
What are the types of c language?
What are the header files used in c language?
I heard that you have to include stdio.h before calling printf. Why?
how to print the character with maximum occurence and print that number of occurence too in a string given ?