wat is output of the following
int main()
{
const int j=2;
int i;
switch(i)
{
case 1:break;
case j:break;
default:break;
}
}
Answers were Sorted based on User's Feedback
Answer / kalyan chukka
Error Generated Because Case j is invalid declaration so
error generated
Is This Answer Correct ? | 15 Yes | 1 No |
Answer / vikash gaurav
output will be nothing.... since i will have garbage value.
once going to switch case the value will not match with any
case so default value will be executed.
Is This Answer Correct ? | 10 Yes | 2 No |
How the processor registers can be used in C ?
Which header file is essential for using strcmp function?
Are enumerations really portable?
Define Spanning-Tree Protocol (STP)
What are called c variables?
coding for Fibonacci.?
What is a struct c#?
What are the advantages and disadvantages of c language?
What does sizeof int return?
What is f'n in math?
what is difference between array and structure?
44 Answers College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,
what is unsigened char and what is the difference from char