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
Explain what is the difference between the expression '++a' and 'a++'?
What are different storage class specifiers in c?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
What is the best way of making my program efficient?
How many keywords are there in c?
What is the right type to use for boolean values in c? Is there a standard type?
What is c method?
Why functions are used in c?
Should I learn c before c++?
Why are algorithms important in c program?
What is scope of variable in c?
how to find binary of number?
What is the scope of global variable in c?
How is pointer initialized in c?