#include<conio.h>
#include<stdio.h>
void main()
{
int i;
if(1,0,2,3)
{
printf("if");
}
else
{
printf("else");
}
getch();
}
Can any body tell the answer of this question with explanation?
Answer Posted / prateek songara
By default "i" will posses the value 2 bcoz of "int" and when it moves to "if" it will check all the values matches with its value (1,0,2,3) and if he gets the match then it will print the "if" ..else it will print the "else"..........hope you got the answer now.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
formula to convert 2500mmh2o into m3/hr
Is there anything like an ifdef for typedefs?
How to explain the final year project as a fresher please answer with sample project
Explain what is wrong with this program statement? Void = 10;
how to find binary of number?
Explain the red-black trees?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
How many keywords are there in c?
What is difference between union and structure in c?
What is the difference between far and near ?
Describe the steps to insert data into a singly linked list.
What is the difference between procedural and declarative language?
What is break in c?
What is a pragma?
a program that can input number of records and can view it again the record