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 is the difference between new and malloc functions?
What is the scope of local variable in c?
Discuss the function of conditional operator, size of operator and comma operator with examples.
What is assignment operator?
What are dangling pointers in c?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Can an array be an Ivalue?
Can main () be called recursively?
write a programming in c to find the sum of all elements in an array through function.
How pointers are declared?
What are c preprocessors?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
What is console in c language?
What is the use of static variable in c?
What is local and global variable in c?