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 / avinash
because there us no break statement after case
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is pointer to pointer in c with example?
Which is best book for data structures in c?
What does malloc () calloc () realloc () free () do?
Is it possible to pass an entire structure to functions?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
How can you increase the size of a statically allocated array?
Why is c not oop?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is hashing in c?
Why is c still so popular?
Difference between linking and loading?
What is actual argument?
Explain what is the general form of a c program?
Why is C language being considered a middle level language?
I heard that you have to include stdio.h before calling printf. Why?