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 / kalyan chukka
Ans is 500 i dont know y it printing 500 u mention k=3 or 4
or 5 any no it prints only 500
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the argument of a function in c?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Can a pointer point to null?
How can I open a file so that other programs can update it at the same time?
What is operator precedence?
In C language, a variable name cannot contain?
find the sum of two matrices and WAP for it.
What is s in c?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
I need testPalindrome and removeSpace
#include
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
Is struct oop?
How we can insert comments in a c program?
What is pointer in c?