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 Exercises - Practice Questions with Solutions for C Programming
Last Updated: 23 September 2024
The best way to learn C programming language is by hands-on practice. This C Exercise page contains the top 30 C exercise questions with sol
...read more
C Language
C Programs
C Program For Bubble Sort
Last Updated: 27 September 2024
Bubble Sort is a comparison based simple sorting algorithm that works by comparing the adjacent elements and swapping them if the elements a
...read more
Sorting
C Language
BubbleSort
C Programs
DSA
C Searching Sorting
C-DSA
C Program to Make a Simple Calculator
Last Updated: 03 October 2024
A simple calculator is a program that can perform addition, subtraction, multiplication, and division of two numbers provided as input. In t
...read more
C Language
C Programs
Picked
C Basic Programs
C Decision Making
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
Producer Consumer Problem in C
Last Updated: 10 January 2025
Concurrency is an important topic in concurrent programming since it allows us to completely understand how the systems work. Among the seve
...read more
Technical Scripter
Operating Systems
C Language
Operating Systems-Process Management
Process Synchronization
C Programs
Technical Scripter 2020
Exit codes in C/C++ with Examples
Last Updated: 23 June 2021
The purpose of the exit() function is to terminate the execution of a program. The "return 0"(or EXIT_SUCCESS) implies that the code has exe
...read more
C Language
C++
C Programs
C++ Programs
C program to find square root of a given number
Last Updated: 23 November 2022
Given a number N, the task is to write a C program to find the square root of the given number N.Examples:Input: N = 12Output: 3.464102Input
...read more
Mathematical
C Language
School Programming
C Programs
root
square-root-decomposition
DSA
SDL library in C/C++ with examples
Last Updated: 15 February 2022
SDL is Simple DirectMedia Layer.It is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, j
...read more
Project
C Programs
Inline Function in C
Last Updated: 07 April 2025
In C, an inline function is a type of function where the compiler replaces the function call with its actual code of the function, invoked t
...read more
Technical Scripter
C Language
C Programs
C Program to Find the Length of a String
Last Updated: 05 December 2024
The length of a string is the number of characters in it without including the null character (‘\0’). In this article, we will learn how
...read more
Strings
C Language
School Programming
C-String-Question
school-programming
C Programs
DSA
Measure execution time with high precision in C/C++
Last Updated: 03 May 2023
Execution time : The execution time or CPU time of a given task is defined as the time spent by the system executing that task in other way
...read more
C Language
C Programs
C++ Programs
Program to Calculate First and Follow Sets of Given Grammar
Last Updated: 29 November 2024
The First and Follow sets are important in syntax analysis, mainly in parsing. All sets help in making predictive parsers and are integral t
...read more
Compiler Design
C Programs
C Program for Linear Search
Last Updated: 15 April 2025
Linear Search is a sequential searching algorithm in C that is used to find an element in a list. Linear Search compares each element of the
...read more
Searching
C Language
C Programs
DSA
Linear Search
C-DSA
Factorial Program in C
Last Updated: 12 August 2024
Write a C program to find the factorial of the given number.A factorial is the product of all the natural numbers less than or equal to the
...read more
factorial
C Language
C Programs
C Basic Programs
C Program for Binary Search
Last Updated: 12 August 2024
In this article, we will understand the binary search algorithm and how to implement binary search programs in C. We will see both iterative
...read more
Binary Search
C Language
C Programs
C-DSA
C / C++ Program for Dijkstra's shortest path algorithm | Greedy Algo-7
Last Updated: 09 October 2023
Problem Statement: Given a graph and a source vertex in the graph, find the shortest paths from the source to all vertices in the given grap
...read more
Dijkstra
C 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 !