How to calculate the age from the date of birth by using the
program?
Answer Posted / 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 |
Post New Answer View All Answers
Why do we use oops?
What is polymorphism what are the different types of polymorphism?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Can you name some types of inheritance?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is coupling in oop?
What are the 4 main oop principles?
Why is abstraction used?
What is property in oops?
What are constructors in oop?
What are the benefits of oop?
What is object-oriented programming? Webopedia definition
How do you define social class?
What is polymorphism and example?