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 / prasad
500
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
what is event driven software and what is procedural driven software?
Why is it usually a bad idea to use gets()? Suggest a workaround.
For what purpose null pointer used?
What is const and volatile in c?
What is a program?
Is printf a keyword?
Write a program to reverse a string.
What is structure in c definition?
How can you avoid including a header more than once?
What happens if header file is included twice?
What is function prototype in c with example?
write a program to find the given number is prime or not
What are the different types of C instructions?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference