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 / ashutosh tiwari
compiler error!
after case 3 there is semicolon & j=400 also ended with
semicolon
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Write a program to swap two numbers without using the third variable?
What is variables in c?
Write a program to swap two numbers without using third variable in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What is the collection of communication lines and routers called?
Explain the use of function toupper() with and example code?
What functions are used for dynamic memory allocation in c language?
What is gets() function?
Can we use visual studio for c?
What is s or c?
write a program to generate address labels using structures?
What are the different types of control structures?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
In c programming language, how many parameters can be passed to a function ?