Write a program to use switch statement.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is selection sort in c?

0 Answers  


Write a program to reverse a linked list in c.

0 Answers   DELL, HAL,


If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.

1 Answers   TCS,


program to find the magic square

1 Answers   Infosys,


11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,






1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

0 Answers  


The difference between printf and fprintf is ?

0 Answers   Baan Infotech,


How to add two numbers with using function?

4 Answers  


In which category does main function belong??

5 Answers  


Average of a couple 10 years ago was 25. The average remains same after having a child and twins after 3 years. What is the present age of the first child

10 Answers   IBM, Infosys,


What are data breakpoints?

3 Answers   Adobe,


what is the program to display your name in any color?

2 Answers   HCL,


Categories