what is the output of the program and explain why??
#include<stdio.h>
void main ( )
{
int k=4,j=0:
switch (k)
{
case 3;
j=300;
case 4:
j=400:
case 5:
j=500;
}
printf (ā%d\nā,j);
}
Answer Posted / ramprabha
500
| Is This Answer Correct ? | 15 Yes | 6 No |
Post New Answer View All Answers
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Explain the red-black trees?
How are portions of a program disabled in demo versions?
What are loops in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is the translation phases used in c language?
When should a far pointer be used?
What is the difference between formatted&unformatted i/o functions?
Explain what is a 'locale'?
Why c language?
What do you know about the use of bit field?
Can variables be declared anywhere in c?
What is the difference between exit() and _exit() function in c?
Can we replace the struct function in tree syntax with a union?