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
What is structure pointer in c?
#include
What is the advantage of using #define to declare a constant?
Sir i need notes for structure,functions,pointers in c language can you help me please
Do array subscripts always start with zero?
What is the use of typedef in c?
What is calloc() function?
Explain union. What are its advantages?
Explain what is a 'locale'?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What does c mean?
What is string function c?
What are the features of c language?
What is the symbol indicated the c-preprocessor?
Why is #define used?