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 is null pointer constant?
what is the different bitween abap and abap-hr?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is s or c?
Why do we use header files in c?
What is strcmp in c?
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
Explain the red-black trees?
Explain how can I right-justify a string?
find out largest elemant of diagonalmatrix
What is difference between Structure and Unions?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is c mainly used for?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?