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
#include
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
How arrays can be passed to a user defined function
Is there a way to switch on strings?
What is substring in c?
Disadvantages of C language.
How pointers are declared?
How to Throw some light on the splay trees?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
What is the main difference between calloc () and malloc ()?
What are different types of pointers?
What is the meaning of typedef struct in c?
Explain union. What are its advantages?