C Language - Control Statements
You Are Here :: Home > C Language > Control Statements - General Questions
31. | #include |
|||||||
|
32. | #include |
|||||||
|
33. | #include |
|||||||
|
34. | void main() {
int a=10,b=20;
char x=1,y=0;
if(a,b,x,y)
{
printf("EXAM");
}
}
What is the output?
|
|||||||
|
35. | void main() {
int marks=50;
if(marks>=40)
{
printf("Student is Pass");
}
else
{
printf("Student is Fail");
}
}
|
|||||||
|
36. | int largest, a=10, b=20, c=30 ; largest = (a > b ? ( a > c ? 10: 30 ) : ( b > c ? 20: 30 ) );
printf("Largst Number : %d",largest);
|
|||||||
|
« previous
1
2
3
4
5
6
7
next »