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 / sathish
400
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What language is c written?
Are comments included during the compilation stage and placed in the EXE file as well?
Write a program for Overriding.
What is the difference between test design and test case design?
What is the use of getchar functions?
What is union and structure in c?
Write a code to generate divisors of an integer?
Why do we use main function?
Explain what are preprocessor directives?
What is the condition that is applied with ?: Operator?
program for reversing a selected line word by word when multiple lines are given without using strrev
What does void main return?
What is the difference between abs() and fabs() functions?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
Explain which function in c can be used to append a string to another string?