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 |
write a program which will count occurance of a day between two dates.
What are structure members?
What is the difference between the local variable and global variable in c?
can you change name of main()?how?
What do you mean by dynamic memory allocation in c?
You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?
what is mean by Garbage collection ? Please answer me. Advance thanks.
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82
Write a function to find the area of a triangle whose length of three sides is given
What are 3 types of structures?
What is the function of multilevel pointer in c?
How can I sort more data than will fit in memory?