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

Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

0 Answers  


In a switch statement, what will happen if a break statement is omitted?

0 Answers  


What is the size of a union variable?

0 Answers  


Ow can I insert or delete a line (or record) in the middle of a file?

0 Answers  


IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.

5 Answers   TCS,






Can you please explain the difference between exit() and _exit() function?

0 Answers  


IS Doon college of Engn.. has good faculty

1 Answers  


What is a file descriptor in c?

0 Answers  


Is return a keyword in c?

0 Answers  


Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.

2 Answers  


Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);

1 Answers  


What does c mean?

0 Answers  


Categories