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
Explain how can I right-justify a string?
What is static and volatile in c?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
How many types of sorting are there in c?
What is volatile variable in c?
What is the difference between array_name and &array_name?
What is the use of a ā ā character?
Write programs for String Reversal & Palindrome check
Why is c called c not d or e?
write a program to copy the string using switch case?
How do you list files in a directory?
What is wrong with this statement? Myname = 'robin';
What are loops in c?
What does return 1 means in c?
Is c compiled or interpreted?