#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 / guest
yhaa... it will print if....... okay...
why u know.... because in if condition u r not checking any
conditions... thatis why,,,,,
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is #include stdio h and #include conio h?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
What is the process to generate random numbers in c programming language?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Why is this loop always executing once?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Tell me when is a void pointer used?
What is bin sh c?
Write a program to maintain student’s record. Record should
not be available to any unauthorized user. There are three
(3) categories of users. Each user has its own type. It
depends upon user’s type that which kind of operations user
can perform. Their types and options are mentioned below:
1. Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record)
2. Super Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record, Delete Single Record)
3. Guest
(Search Record [by Reg. No or Name], View All Records)
When first time program runs, it asks to create accounts.
Each user type has only 1 account (which means that there
can be maximum 3 accounts). In account creation, following
options are required:
Login Name: <6-10 alphabets long, should be unique>
Password: <6-10 alphabets long, should not display
characters when user type>
Confirm Password:
What is the purpose of the preprocessor directive error?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
How would you obtain the current time and difference between two times?
When would you use a pointer to a function?
Define and explain about ! Operator?
What is return type in c?