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 / ganesh bankar
There is a errsor at compile time because some statements
are not terminated by ";".
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the Purpose of 'extern' keyword in a function declaration?
What are the Advantages of using macro
What is the maximum no. of arguments that can be given in a command line in C.?
What is static memory allocation?
What are the three constants used in c?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Do you know what are the properties of union in c?
How many types of functions are there in c?
What is the significance of an algorithm to C programming?
What header files do I need in order to define the standard library functions I use?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What are reserved words with a programming language?
What is the difference between local variable and global variable in c?
What does %c mean in c?