#include
main()
{
int i=1,j=2;
switch(i)
{
case 1: printf("GOOD");
break;
case j: printf("BAD");
break;
}
}
Answer Posted / subha raman
yeah..itz mainly syntax error..
there shud not be any declaration of variables..in
case "j"..it must be "case 2"only..
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Is c dynamically typed?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What is the use of a conditional inclusion statement in C?
What is the heap in c?
What is string function in c?
Explain how do you determine the length of a string value that was stored in a variable?
What is c mainly used for?
What is pointer and structure in c?
What is static and volatile in c?
What is the difference between union and anonymous union?
What is c programing language?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
ATM machine and railway reservation class/object diagram
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?