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 / gollapally
400
500
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Explain the use of 'auto' keyword in c programming?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
How can I implement sets or arrays of bits?
Can you apply link and association interchangeably?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
Can you please explain the difference between strcpy() and memcpy() function?
Why we use stdio h in c?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What are examples of structures?
Why do we need arrays in c?
What is typedef struct in c?
What is the benefit of using #define to declare a constant?
What are the different types of constants?
If errno contains a nonzero number, is there an error?
how to find binary of number?