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 / avinash
because there us no break statement after case
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Define Spanning-Tree Protocol (STP)
Differentiate between declaring a variable and defining a variable?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(ā-ā); Return 0;
Linked lists -- can you tell me how to check whether a linked list is circular?
Which driver is a pure java driver
Which programming language is best for getting job 2020?
What are the 5 organizational structures?
What is the difference between class and object in c?
What do you mean by a local block?
Is main an identifier in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
Explain Function Pointer?
Explain what is the use of a semicolon (;) at the end of every program statement?
When do we get logical errors?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.