Write a C++ program to give the number of days
in each month according to what the user entered.
example: the user enters June the program must count
number of days from January up to June


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

Post New Answer

More C Interview Questions

say the following declaration is correct nr not. int b=a,n=0;

4 Answers   Wipro,


How to write a code for reverse of string without using string functions?

0 Answers   TCS,


15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?

1 Answers  


Explain how can you check to see whether a symbol is defined?

0 Answers  


C program to find all possible outcomes of a dice?

0 Answers  


Why & is used in c?

0 Answers  


int x=sizeof(!5.856); What will value of variable x?

2 Answers  


Explain what is the difference between functions getch() and getche()?

0 Answers  


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

0 Answers   CSC, Wipro,


How will you write a code for accessing the length of an array without assigning it to another variable?

0 Answers  


how many argument we can pas in in a function

25 Answers   CTS,


What are the features of c language?

0 Answers  


Categories