Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


Design a program to input a date from user in the form
day/month/year (e.g. 2/6/2000) and report whether it’s a
valid date or not. The program should take account of leap
years. You will need to know that a leap year is a year that
is exactly divisible by 4, except that century years are
only leap years if they are divisible by 400.



Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report wh..

Answer / jkl

Design pattern is a general repeatable solution to a
commonly occurring problem . A design pattern is not a
finished design that can be transformed directly into code.
It is a description or template for how to solve a problem
that can be used in many different situations.
Object-oriented design patterns typically show
relationships and interactions between classes or objects,
without specifying the final application classes or objects
that are involved.

Design patterns deal specifically with problems at the
level of software design.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is namespace & why it is used in c++?

0 Answers  


What compiler was used?

6 Answers   Intel,


if there is binary tree which one is the easiest way to delete all child node?

1 Answers   Persistent,


Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }

2 Answers   CDAC, Wipro,


Is c++ harder than java?

0 Answers  






What happens if an exception is throws from an, object's constructor and object's destructor?

4 Answers   Wipro,


What is a .lib file in c++?

0 Answers  


What is private, public and protected inheritance?

0 Answers  


Can create new c++ operators?

0 Answers  


Are iterators pointers?

0 Answers  


Why do we use templates?

0 Answers  


Explain what are accessor methods?

0 Answers  






Categories