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 / ramprabha
500
| Is This Answer Correct ? | 15 Yes | 6 No |
Post New Answer View All Answers
What are pointers?
Define and explain about ! Operator?
Differentiate between a structure and a union.
Explain about the functions strcat() and strcmp()?
What are the Advantages of using macro
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is a method in c?
What is the general form of function in c?
What is the size of empty structure in c?
Write a Program to find whether the given number or string is palindrome.
a c code by using memory allocation for add ,multiply of sprase matrixes
write a program in c language to print your bio-data on the screen by using functions.
Explain the difference between exit() and _exit() function?
Explain how do you convert strings to numbers in c?
What is variable declaration and definition in c?