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 / gollapally
400
500
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Can a file other than a .h file be included with #include?
What is a function simple definition?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
How can I avoid the abort, retry, fail messages?
What is the difference between new and malloc functions?
What is the need of structure in c?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What's the right way to use errno?
Can the sizeof operator be used to tell the size of an array passed to a function?
What are multibyte characters?
What is the use of structure padding in c?
Explain how do you determine the length of a string value that was stored in a variable?
How to implement a packet in C
What are keywords c?