Write a C++ program to give the number of days
in each month according to what the user entered.
example: the user enters June the program must count
number of days from January up to June
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between strcpy() and memcpy() function in c programming?
Write a program in c to print 1 121 12321 1234321 123454321
11 Answers ANR, College School Exams Tests, Mu Sigma, Wipro,
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Can a pointer be volatile in c?
What is difference between scanf and gets?
If the static variable is declared as global, will it be same as extern?
What are the salient features of c languages?
What is signed and unsigned?
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?
What is the OOPs concept?
write a program which counts a product of array elements lower than 10.