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

without using control structures and control structures find the max and min of given 2 nos

1 Answers   HCL,


What is #pragma statements?

0 Answers  


Are the expressions * ptr ++ and ++ * ptr same?

0 Answers  


How can you tell whether a program was compiled using c versus c++?

0 Answers  


Can we access the array using a pointer in c language?

0 Answers  


What are the 5 types of organizational structures?

0 Answers  


int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

6 Answers   HCL, Octal, SW,


Why can arithmetic operations not be performed on void pointers?

0 Answers  


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers   Aspire, Infogain,


regarding pointers concept

0 Answers  


what is the difference between malloc() and calloc() function?

1 Answers  


Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


Categories