write a program in C that prompts the user for today's
date,tomorrow's date and display the results.Use structures
for today's date,tomorrow's date and an array to hold the
days for each month of the year.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

How will you print TATA alone from TATA POWER using string copy and concate commands in C?

0 Answers   Amdocs, Apps Associates,


Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.

6 Answers   FCI, TCS,


What does typeof return in c?

0 Answers  


What is the main difference between calloc () and malloc ()?

0 Answers  


main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }

8 Answers   Vector,






Is register a keyword in c?

0 Answers  


what is reason of your company position's in india no. 1.

0 Answers   Accenture, TCS,


What is c mainly used for?

0 Answers  


How can a string be converted to a number?

0 Answers  


Explain the array representation of a binary tree in C.

0 Answers   Genpact,


Code for calculating square root without using library function, of math.h

4 Answers   IBM,


4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

6 Answers   Accenture,


Categories