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 normal C constructs work differently in C++?

2 Answers  


Why polymorphism is used in oops?

0 Answers  


What is a linked list?

7 Answers   IBM, Neural Info,


what is the definition of incapsulation

2 Answers  


Difference between over loading and over ridding?

12 Answers   CTS, Patni, Softvision Solution,






Difference ways of Polymorphism?

3 Answers  


What is multilevel inheritance explain with example?

0 Answers  


what is the main difference between sizeof() operator in c and c++

3 Answers  


function overridind means and simple program

2 Answers  


Can we create object of interface?

0 Answers  


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

0 Answers  


Can we have inheritance without polymorphism?

0 Answers  


Categories