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 that takes a 5 digit number and calculates 2 power that number and prints it.
Why c is called top down?
Tell me when would you use a pointer to a function?
What is c language in simple words?
Is it better to use a macro or a function?
what is computer engg
SRUCTURE PROGRAMMING
What is masking?
What is a program flowchart?
Can we assign string to char pointer?
what is the difference between procedure oriented and object oriented progaming language
Program to write some contents into a file using file operations with proper error messages.