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 / ramprabha
0
| Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
In C language what is a 'dangling pointer'?
What is a header file?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Explain what is wrong in this statement?
Is there any demerits of using pointer?
Write a program to swap two numbers without using third variable in c?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Which is best linux os?
What is bss in c?
Are global variables static in c?
What is getch c?
Can a pointer point to null?
What is the process of writing the null pointer?
Sir i need notes for structure,functions,pointers in c language can you help me please