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
write a program for egyptian fractions in c?
What is diffrance between declaration and defination of a variable or function
void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }
5 Answers C DAC, CDAC, Infosys, Wipro,
What does a run-time "null pointer assignment" error mean?
What would be an example of a structure analogous to structure c?
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }
Output for following program using for loop only * * * * * * * * * * * * * * *
What does malloc () calloc () realloc () free () do?
main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above
How can I make it pause before closing the program output window?
explain what is an endless loop?