#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
Why string is used in c?
Do you have any idea how to compare array with pointer in c?
Is c procedural or object oriented?
What is bubble sort in c?
Define Array of pointers.
What is return type in c?
When c language was developed?
How can I do serial ("comm") port I/O?
explain what are pointers?
Explain the difference between malloc() and calloc() function?
State the difference between x3 and x[3].
Why is c called "mother" language?
How are pointers declared in c?
Does free set pointer to null?
Give the rules for variable declaration?