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 / ramprabha
0
Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
What is pointers in c?
Why pointers are used in c?
When is a “switch” statement preferable over an “if” statement?
What is the sizeof () operator?
Why is structure padding done in c?
while initialization of array why we use a[][2] why not a[2][]...?
write a program for the normal snake games find in most of the mobiles.
show how link list can be used to repersent the following polynomial i) 5x+2
What is meant by inheritance?
Is main is a keyword in c?
What is a file descriptor in c?
How do I get a null pointer in my programs?
What is the scope of global variable in c?
Is c programming hard?
What is floating point constants?