Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
DSA
22.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++
4.2k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
Linked List
1.1k+ articles
Linked Lists
300+ articles
C Examples
95 articles
C Basic Programs
71 articles
  1. Programming Language
  2. >
  3. C Language
  4. >
  5. C Programs

C Programs

760+ posts
C Multiple Choice Questions
Last Updated: 13 June 2024
C is the most popular programming language developed by Dennis Ritchie at the Bell Laboratories in 1972 to develop the UNIX operating syste ...read more
C Programs
Pattern Programs in C
Last Updated: 16 April 2025
Printing patterns using C programs has always been an interesting problem domain. We can print different patterns like star patterns, pyrami...read more
image
C Language
C Programs
C Programs
Last Updated: 10 January 2025
To learn anything effectively, practicing and solving problems is essential. To help you master C programming, we have compiled over 100 C p...read more
image
C Language
C Programs
Similar Topics
DSA
22.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++
4.2k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
Linked List
1.1k+ articles
Linked Lists
300+ articles
C Examples
95+ articles
C Basic Programs
71+ articles
C Program to Read Content of a File
Last Updated: 13 May 2025
In C, reading a file is a step-by-step process in which we first have to prepare the file only after which we can start reading. It involves...read more
image
C Language
C-File Handling
C Programs
Macros and its types in C
Last Updated: 13 May 2025
In C programming, a macro is a symbolic name or constant that represents a value, expression, or code snippet. They are defined using the #d ...read more
C Macro
cpp-macros
C Language
C++
C Programs
C Program to Sort an Array in Ascending Order
Last Updated: 20 November 2024
Sorting an array in ascending order means arranging the elements in the order from smallest element to largest element.The easiest way to so ...read more
C Language
School Programming
C-Arrays
C Programs
C Basic Programs
DSA
C Hello World Program
Last Updated: 14 January 2025
The “Hello World” program is the first step towards learning any programming language. It is also one of the simplest programs that is u ...read more
C Language
School Programming
C Programs
C Basic Programs
Arrow operator -> in C/C++ with Examples
Last Updated: 20 March 2023
An Arrow operator in C/C++ allows to access elements in Structures and Unions. It is used with a pointer variable pointing to a structure or ...read more
C Language
C Programs
How to Append a Character to a String in C?
Last Updated: 05 December 2024
In this article, we will learn how to append a character to a string using the C program.The most straightforward method to append a charact ...read more
Strings
C Language
C-String
C Programs
DSA
C program to Find the Largest Number Among Three Numbers
Last Updated: 01 May 2025
Given 3 integer numbers, the task is to find the largest number among them.ExamplesInput: a = 10, b = 22, c = 19Output: 22 is the largest nu...read more
image
C Language
School Programming
C-Functions
C Programs
C Basic Programs
DSA
Prime Number Program in C
Last Updated: 05 May 2025
A prime number is a natural number greater than 1 and is completely divisible only by 1 and itself. In this article, we will learn how to ch ...read more
C Language
C Programs
C Basic Programs
UDP Server-Client implementation in C++
Last Updated: 23 February 2023
There are two primary transport layer protocols to communicate between hosts: TCP and UDP. Creating TCP Server/Client was discussed in a pre...read more
image
Misc
Computer Networks
C Language
C Programs
Linux-Unix
Generating Random Numbers in a Range in C
Last Updated: 11 October 2024
Write a C program to generate random numbers in a range.ExamplesInput: min = 5, max = 15Output: 9, 11, 2Explanation: Any integer between 5 a ...read more
Random Algorithms
C Language
C Programs
C Program to Check for Palindrome String
Last Updated: 10 January 2025
A string is said to be palindrome if the reverse of the string is the same as the string. In this article, we will learn how to check whethe...read more
image
Strings
Morgan Stanley
Paytm
FactSet
palindrome
C Language
TCS
C-String
C Programs
C Basic Programs
DSA
Basic Coding Problems
C Program to Swap Two Numbers
Last Updated: 01 May 2025
Swapping two numbers means exchanging their values. In this article, we will learn how to swap values of two numbers in a C program.The easi ...read more
Samsung
C Language
C Programs
Swap-Program
Basic Coding Problems
1 2 3 4 5 6 7 8 >>
Last
1 2 3 4 5 6 >>
Last
1 2 3 4 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox