Computer Science, asked by ktanush333, 3 months ago

write a program to check whether the number is leap year or not using void pointer​

Answers

Answered by Anonymous
6

Answer:

See the below example in which we check a leap year by taking input from user:

#include<stdio. h>

#include<conio. h>

void main() {

int year;

printf("Enter a year: ");

scanf("%d", &year);

if(((year%4==0) && ((year%400==0) || (year%100!== 0))

Similar questions