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 / gouse mohiddin
500
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Is there sort function in c?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is difference between array and structure in c?
What are the types of arrays in c?
Why is a semicolon (;) put at the end of every program statement?
What is stack in c?
Explain how do you use a pointer to a function?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What are the advantages and disadvantages of a heap?
code for find determinent of amatrix
How can you invoke another program from within a C program?
What's the difference between constant char *p and char * constant p?
What is data structure in c and its types?
What is the difference between printf and scanf )?
What is the use of bit field?