Skip to content

Technology Articles Blog

Technology Articles Blog
Menu
  • Business and Management
    • Finance Management
    • Global Strategic Positioning
    • International Business
    • Money Management
    • Organizational Change
    • Process Improvement
    • Product Management
    • Project Management
    • Reengineering
    • Strategic Alliance
    • Strategic Planning
  • Information Technology
    • Advanced Mathematics
    • Data Communications
    • E-Governance
    • Electrical and Electronics
    • Enterprise Architecture
    • Hi-Tech Workers
    • Information Architecture
    • Information Management
    • Internet Usage
    • Internetworking
    • Knowledge Management
    • Legal Issues in Information Management
    • Mechanical Engineering and Technology
    • Patents
  • Software Development
    • Agile development
    • Architecture
    • Copyright Issues
    • DevOps
      • Containerization
    • Database Technologies
    • Frameworks
      • .NET
        • .NETCore
        • .NETFramework
    • Iterative Software development
    • Object Oriented Modeling and Design
    • System Analysis and Design
    • User Experience
    • Service Oriented Architecture
  • Programming
    • Ada
    • C
    • C#
    • C++
    • Perl
    • Numerical Analysis
  • Cloud Computing
    • Containerization
      • Container Orchestration
    • Azure
    • Google Cloud
    • Kubernetes
HomeSoftware DevelopmentProgrammingCC Program to check for leap year

C Program to check for leap year

March 7, 2020

Here is a C program to check for leap year –

main ()
{
       int year;

       printf("Please enter any year as 4 digits>> ");

       scanf("%d", &year);

       if(year % 4 ==0 && year % 100 !=0 || year % 400 == 0)
             printf("%d is a leap year \n", year);
       else
             printf("%d is not a leap year \n", year);
       
}

Related Posts

Schedule Compression Determination

Heap Tree Sort and its implementation in C

Arrays Vs Lists – Which one to use?

About The Author

admin

More Articles ..

Advanced Mathematics Agile development All Articles Application Architecture Architecture ASP.NET Azure Business and Management C C# C++ Cloud Computing Copyright Issues Database Technologies Data Communications Data warehousing E-Governance Electrical and Electronics Enterprise Architecture Hi-Tech Workers Information Architecture Information Management Information Technology International Business Internet Usage Internetworking Knowledge Management Legal Issues in Information Management Mechanical Engineering and Technology Money Management Numerical Analysis Object Oriented Modeling and Design Organizational Change Patents Process Improvement Programming Project Management Reengineering Server Architecture Service Oriented Architecture Software Development Strategic Planning System Analysis and Design Technology Home User Experience

Recent Articles

  • Setup and Manage Azure CI/CD Pipelines
  • Azure DevOps
  • JDK Vs .NET SDK – Nuts and Bolts
  • Container Orchestration with Kubernetes
  • Deploying a Cloud native .NetCore app on Kubernetes Cluster
  • Towards Blazor
  • Server and Client rendered Web application development frameworks
  • Building Razor Page Web app. in .NetCore
  • Containerization with Docker
  • Containerization
  • Importance of Software Architecture
  • DevOps
  • Azure Functions and Serverless Computing
  • Azure Containers and Kubernetes for creating microservice-based applications
  • Azure VM Service

Categories

© 2025 Technology Articles Blog | WordPress Theme by Superb WordPress Themes
Back to Top ↑