Write a c pgm for leap year
Answers were Sorted based on User's Feedback
Answer / s.gayathri
void main()
{
int a,y;
clrscr();
printf("enter the year");
scanf("%d",y);
a=y%4;
if(a==1);
printf("leep year");
Is This Answer Correct ? | 8 Yes | 19 No |
What is the difference between typedef and #define?
Write a program in C to convert date displayed in gregorian to julian date
Binary tree traversing
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
What are data breakpoints?
What is the difference between ++a and a++?
how to compare two strings without using strcmp() function??
Was 2000 a leap year?
Where can I get an ansi-compatible lint?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What is the use of void pointer and null pointer in c language?
List the different types of c tokens?