Skip to content
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
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
Linked List
1.1k+ articles
Linked Lists
300+ articles
C Examples
95 articles
C Basic Programs
71 articles
Programming Language
>
C Language
>
C Programs
C Programs
800+ posts
Popular Articles
Recent Articles
C Program to Read Content of a File
Last Updated: 07 April 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
C Language
C-File Handling
C Programs
Snake Game in C
Last Updated: 10 January 2025
The Snake game is a simple arcade game where the player controls a snake that moves around to eat food. The goal is to keep eating food with
...read more
Project
Technical Scripter
C Language
C Programs
Technical Scripter 2020
C Projects
getch() function in C with Examples
Last Updated: 10 January 2025
getch() is a nonstandard function and is present in conio.h header file which is mostly used by MS-DOS compilers like Turbo C. It is not par
...read more
Programming Language
C Language
C Programs
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
Linked List
1.1k+ articles
Linked Lists
300+ articles
C Examples
95+ articles
C Basic Programs
71+ articles
Set, Clear and Toggle a Given Bit of a Number in C
Last Updated: 12 August 2024
Write a C program to Set, Clear, and Toggle the given bit of a number.Setting a bit means that if Kth bit is 0, then set it to 1 and if it i
...read more
Bit Magic
C Programs
DSA
unsigned char in C with Examples
Last Updated: 06 August 2020
char is the most basic data type in C. It stores a single character and requires a single byte of memory in almost all compilers.Now charact
...read more
C Programs
Concatenating Two Strings in C
Last Updated: 28 November 2024
Concatenating two strings means appending one string at the end of another string. In this article, we will learn how to concatenate two str
...read more
C Language
C-String
C Programs
C Strings Programs
Thread Management Functions in C
Last Updated: 15 April 2025
In C language, POSIX pthread.h standard API (Application program Interface) for all thread related functions. It allows us to create multipl
...read more
Operating Systems
C Language
C Programs
Program to find Prime Numbers Between given Interval
Last Updated: 24 December 2024
Given two numbers m and n as interval range, the task is to find the prime numbers in between this interval.Examples:Input: m = 1, n = 10Out
...read more
Mathematical
Prime Number
school-programming
C Programs
Technical Scripter 2018
DSA
GDB (Step by Step Introduction)
Last Updated: 10 January 2025
GDB stands for GNU Project Debugger and is a powerful debugging tool for C (along with other languages like C++). It helps you to poke aroun
...read more
GCC
C Language
C++
C Programs
linux-command
time() function in C
Last Updated: 10 January 2025
The time() function is defined in time.h (ctime in C++) header file. This function returns the time since 00:00:00 UTC, January 1, 1970 (Uni
...read more
C Language
C-Functions
C-Library
C Programs
C Program to Add Two Integers
Last Updated: 10 January 2025
Given two integers, the task is to add these integer numbers and return their sum.ExamplesInput: a = 5, b = 3Output: 8Explanation: The sum o
...read more
C Language
C Programs
C Basic Programs
Flex (Fast Lexical Analyzer Generator)
Last Updated: 17 September 2024
Flex (Fast Lexical Analyzer Generator), or simply Flex, is a tool for generating lexical analyzers scanners or lexers. Written by Vern Paxso
...read more
Compiler Design
C Programs
Lex program
C Program for Merge Sort
Last Updated: 10 January 2025
Merge Sort is a comparison-based sorting algorithm that works by dividing the input array into two halves, then calling itself for these two
...read more
Merge Sort
C Language
C Programs
C-DSA
C Program For Insertion Sort
Last Updated: 10 January 2025
Insertion sort is a simple sorting algorithm used to sort a collection of elements in a given order. It is less efficient on large lists tha
...read more
Sorting
C Language
InsertionSort
C Programs
DSA
C-DSA
C Program to Print Fibonacci Series
Last Updated: 03 February 2025
The Fibonacci series is the sequence where each number is the sum of the previous two numbers of the sequence. The first two numbers are 0 a
...read more
C Language
C Programs
C Basic Programs
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
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
Got It !