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
what are non standard function in c
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is c value paradox explain?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is the difference between printf and scanf in c?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What is a function in c?
What is an lvalue?
The difference between printf and fprintf is ?
Which is better malloc or calloc?
Is void a keyword in c?
What is nested structure?
What are global variables and how do you declare them?
how we can make 3d venturing graphics on outer interface
difference between object file and executable file