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 / kalyan chukka
Ans is 500 i dont know y it printing 500 u mention k=3 or 4
or 5 any no it prints only 500
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the description for syntax errors?
What does *p++ do? What does it point to?
What is strcpy() function?
how should functions be apportioned among source files?
Why do we write return 0 in c?
Why we write conio h in c?
What are the 3 types of structures?
How can you return multiple values from a function?
What is property type c?
What is restrict keyword in c?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Is fortran still used in 2018?
What is actual argument?
What is a lookup table in c?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM