Write a C program to check a year is leap year or not.
#include <stdio.h> #include <conio.h> main() { int y; printf("\n enter any year"); scanf("%d", &y); if ((y % 4 == 0) && ((y % 100 != 0) || (y % 400 == 0))) printf("\n the year is LEAPYEAR"); else printf("\n the year is NOT LEAPYEAR"); getch(); }
Output:
Write a C Program That Uses Functions To Delete N – Charactres From A Given Position In A Given String.
Write a C program to print the following output.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Write short note on
Iridium satellite system
What are the differences between AVL Tree & Binary Search Tree ?
What is ISO 9000 Certification? How to Get ISO 9000 Certification?
Create a Sparse Matrix in C.