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
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
Differentiate between full, complete & perfect binary trees.
Explain what are the __date__ and __time__ preprocessor commands?
What are the 4 data types?
Describe the steps to insert data into a singly linked list.
What is structure in c explain with example?
How can a program be made to print the line number where an error occurs?
What is function prototype?
What is the description for syntax errors?
What is the scope of static variable in c?
What is the size of empty structure in c?
write a program to rearrange the array such way that all even elements should come first and next come odd
Can you please compare array with pointer?
How would you rename a function in C?
What is the condition that is applied with ?: Operator?