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 / prasad
500
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Explain how can you avoid including a header more than once?
Explain how do you search data in a data file using random access method?
What is the difference between exit() and _exit() function?
Why n++ execute faster than n+1 ?
can we implement multi-threads in c.
What is the right type to use for boolean values in c?
What is ctrl c called?
How can I recover the file name given an open stream or file descriptor?
How can I invoke another program or command and trap its output?
What is a structure in c language. how to initialise a structure in c?
Can you please explain the difference between syntax vs logical error?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What are operators in c?
What is difference between function overloading and operator overloading?
What is array of pointers to string?