main()
{
struct test
{
char c;
int i;
char m;
} t1;
printf("%d %d\n", sizeof(t1), sizeof(t1.c));
}
Answer Posted / rashmi
12 1
| Is This Answer Correct ? | 7 Yes | 10 No |
Post New Answer View All Answers
Why is c called a structured programming language?
What is c++ used for today?
What is pointers in c with example?
What is array in C
What is a far pointer in c?
What are the different types of constants?
What is FIFO?
Write a program for Overriding.
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What is the purpose of realloc()?
What is cohesion in c?
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 #include called?
What is a char c?
Is null a keyword in c?