wat is output of the following
int main()
{
const int j=2;
int i;
switch(i)
{
case 1:break;
case j:break;
default:break;
}
}
Answer Posted / kalyan chukka
Error Generated Because Case j is invalid declaration so
error generated
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Explain continue keyword in c
What is the purpose of sprintf() function?
What is bin sh c?
What is non linear data structure in c?
Write a program to check armstrong number in c?
What are the types of type qualifiers in c?
What is wrong with this declaration?
What is %d called in c?
string reverse using recursion
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What is the use of define in c?
What are the types of unary operators?
What does malloc () calloc () realloc () free () do?
What are the preprocessor categories?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?