#include
main()
{
int i=1,j=2;
switch(i)
{
case 1: printf("GOOD");
break;
case j: printf("BAD");
break;
}
}
Answer Posted / pravin
if we use the single qutoes' 'at 1 and j the rest of
program is right because we already decleared the value of i
and i=1 .
so output should be "GOOD" only. (without" ")
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the difference between exit() and _exit() function?
Explain how can you be sure that a program follows the ansi c standard?
All technical questions
How are Structure passing and returning implemented by the complier?
Can you write the algorithm for Queue?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
differentiate built-in functions and user – defined functions.
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
What are multidimensional arrays?
Explain how do you declare an array that will hold more than 64kb of data?
What is printf () in c?
Write a program to reverse a given number in c language?
What are different types of variables in c?
What is the easiest sorting method to use?
How can I make sure that my program is the only one accessing a file?