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 / gollapally
400
500
Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is a built-in function in C?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
Explain what is meant by 'bit masking'?
How do we print only part of a string in c?
What does it mean when the linker says that _end is undefined?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Why do we use header files in c?
What is the use of printf() and scanf() functions?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is p in text message?
What is a rvalue?
What is the use of ?
What are the 5 types of inheritance in c ++?
How many keywords are there in c?