Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How many types of access specifier in c# and vb.net?

1 Answers   Infosys,


What is ambiguity in c++

4 Answers   Accenture, Mphasis,


What are the advantages of polymorphism?

0 Answers  


What is multidimensional array?

1 Answers  


create a c++ program that will accepts 9 inputs using 3 by 3 array.

1 Answers  


write a progra in c++ using class & object to find out wheather a given no. is prim or not.

2 Answers  


Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?

2 Answers   NIIT,


#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

0 Answers  


what is different between oops and c++

0 Answers   IIT,


what is polymorphism?

4 Answers  


Why do we use inheritance?

0 Answers  


What is cohesion in oop?

0 Answers  


Categories