main()
{
char as[] = "\\0\0";
int i = 0;
do{
switch( as[i++]) {case '\\' : printf("A");
break;
case 0 : printf("B");
break;
default : printf("C");
break;
}}
while(i<3);
}
Answer Posted / darpan
AB
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What are 3 types of structures?
Why & is used in scanf 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
show how link list can be used to repersent the following polynomial i) 5x+2
Explain output of printf("Hello World"-'A'+'B'); ?
What is the function of this pointer?
What is the purpose of void in c?
How many types of sorting are there in c?
If the size of int data type is two bytes, what is the range of signed int data type?
Where is c used?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
How can you restore a redirected standard stream?
What is formal argument?
What is difference between Structure and Unions?
What are the 5 organizational structures?