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 is R T T I ?

6 Answers   Ness Technologies,


Write a program to find out the number of palindromes in a sentence.

1 Answers   TCS,


How to create a comment page in C #??

2 Answers  


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

0 Answers   CAT,


What is the highest level of cohesion?

0 Answers  






can we make a class static without using static keyword?

5 Answers   Aspire,


should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks

2 Answers  


Have you ever used threads?

3 Answers   Adobe, IBM,


What is the different between Applet and Application?

2 Answers  


What is encapsulation in simple terms?

0 Answers  


write a program to find 2 power of a 5digit number with out using big int and exponent ?

0 Answers  


WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.

4 Answers   HCL,


Categories