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 / prasad
500
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
What is conio h in c?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What are the 5 types of inheritance in c ++?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
How do you determine whether to use a stream function or a low-level function?
write a program to print data of 5 five students with structures?
What are the advantages of c language?
What is difference between union and structure in c?
how to construct a simulator keeping the logical boolean gates in c
a program that can input number of records and can view it again the record
differentiate built-in functions and user ā defined functions.
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is an lvalue in c?
What are enums in c?