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 a node in c?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Explain pointer. What are function pointers in C?
What functions are used in dynamic memory allocation in c?
Do string constants represent numerical values?
When should a far pointer be used?
Is it valid to address one element beyond the end of an array?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
explain what are pointers?
What are the different types of control structures in programming?
What is the use of #define preprocessor in c?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
How to write c functions that modify head pointer of a linked list?
What do you know about the use of bit field?