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 are the fields of vtable

1 Answers   Mphasis,


what is difference b/w object based and object oriented programming language?

18 Answers   Chaitanya, College School Exams Tests, Educomp, IBM, Infosys, Telko,


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

0 Answers   DELL,


how to create thread in java?

17 Answers   IBM, Infosys, Wipro,


Which language is not a true object oriented programming language?

0 Answers  


what is the diffrence between c# and c++

5 Answers  


Can we have inheritance without polymorphism?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 Answers  


What is the expansion of OOPS?

24 Answers   TCS,


what is graphics

0 Answers  


What are the important components of cohesion?

0 Answers  


What is inheritance in oop?

0 Answers  


Categories