How to calculate the age from the date of birth by using the
program?

Answers were Sorted based on User's Feedback



How to calculate the age from the date of birth by using the program?..

Answer / vin

This can be done
by asking the user to enter the year of birth and get the
current date by using the functions in time.h

just you have to subtract the year.

Is This Answer Correct ?    16 Yes 2 No

How to calculate the age from the date of birth by using the program?..

Answer / dileep

we are using time.h header file to get the date of birth of
user. in this header file haveing the some in built functions

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More OOPS Interview Questions

what does exactly the linker do?

1 Answers  


What are classes oop?

0 Answers  


What is difference between pop and oop?

0 Answers  


What is the different between Applet and Application?

2 Answers  


suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?

3 Answers   EA Electronic Arts,






What is difference between function overloading and overriding?

1 Answers   emc2,


Templates mean

0 Answers  


Can enum be null?

0 Answers  


Why interface is used?

0 Answers  


what is the new version of oops

0 Answers   Ignou,


Why do we use oops?

0 Answers  


What is meant by multiple inheritance?

0 Answers  


Categories