#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
Difference between Function to pointer and pointer to function
What are control structures? What are the different types?
What do you mean by recursion in c?
How can I read data from data files with particular formats?
What is the scope of local variable in c?
Which driver is a pure java driver
What is size of union in c?
What language is lisp written in?
How are pointers declared in c?
Which type of language is c?
program for reversing a selected line word by word when multiple lines are given without using strrev
How can you draw circles in C?
Is null always equal to 0(zero)?
write an algorithm to display a square matrix.
What is #include called?