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 / sathish
400
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What is derived datatype in c?
What are the application of void data type in c?
How important is structure in life?
The difference between printf and fprintf is ?
Difference between Function to pointer and pointer to function
Are local variables initialized to zero by default in c?
When do we get logical errors?
What is typedef struct in c?
What is the best way of making my program efficient?
What is difference between main and void main?
Explain the process of converting a Tree into a Binary Tree.
Who invented bcpl language?
Write a program to reverse a linked list in c.
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Explain what is the difference between functions getch() and getche()?