Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Java
10.8K+ articles
Mathematical
7.8K+ articles
C++
4.3K+ articles
Competitive Programming
3.3K+ articles
C++ Programs
2.4K+ articles
Algorithms
2.0K+ articles
C Language
1.8K+ articles
Programming Language
/
C Language
/
C Programs
C Programs
7.5K+ posts
Recent Articles
Popular Articles
scalbn() Function in C
Last Updated: 17 July 2024
The scalbn() function in C is part of the standard math library math.h and is used to scale a floating-point number by an integral power of the base (2 raised to the expon...
read more
C Programs
C Language
C-Functions
C-Library
fdim() Function in C
Last Updated: 16 July 2024
The fdim() function in C is part of the standard math library math.h and is used to compute the positive difference between two floating-point numbers. This function is pa...
read more
C Programs
C Language
C-Functions
C-Library
ilogb() Function in C
Last Updated: 18 July 2024
The ilogb() function in C is a part of the standard math library math.h. It is used to compute the binary exponent of a floating-point number, which is the exponent of the...
read more
C Programs
C Language
C-Functions
C-Library
strncpy() Function in C
Last Updated: 05 August 2024
The strncpy() function in C is a predefined function in the string.h library used to copy a specified number of characters from one string to another. To use this function...
read more
C Programs
C Language
Picked
C-String
C-Functions
Your First C Program
Last Updated: 30 July 2024
Like in most of the programming languages, program to write the text "Hello, World!" is treated as the first program to learn in C. This step-by-step guide shows you how t...
read more
C Programs
C Language
C Basic Programs
String to Integer in Different Programming Languages
Last Updated: 24 August 2024
Below are example programs to do string to integer conversion in different programming languages.C++#include bits/stdc++.husing namespace std;int main(){ int val; ch...
read more
Strings
Python
C Programs
C++ Programs
Java Programs
C++
Python Programs
PHP Programs
DSA
JavaScript Programs
C Program to Traverse a Multi-Dimensional Array
Last Updated: 26 August 2024
Write a C program to traverse a given multi-dimensional array that contains N elements.ExamplesInput: arr[2][3] = {{1, 2, 3}, {4, 5, 6}}Output: 1 2 3 4 5 6Inp...
read more
C Programs
C Language
C-Arrays
C Basic Programs
C Program to Traverse an Array in Reverse
Last Updated: 26 August 2024
Write a C program to traverse a given array in reverse order that contains N elements.ExamplesInput: arr[] = {2, -1, 5, 6, 0, -3}Output: -3 0 6 5 -1 2Input: arr[] = {4, 0,...
read more
C Programs
C Language
DSA
C-Arrays
C Basic Programs
C Program to Sort a String of Characters
Last Updated: 05 December 2024
Sorting a string of characters refers to the process of rearranging all the characters in the given order. In this article, we will learn how to sort a string of character...
read more
C Programs
C Language
C-String
C Searching Sorting
C-DSA
C Program to Print Hourglass Pattern
Last Updated: 13 December 2024
The Hourglass Pattern is a symmetrical pattern similar to an hourglass shape. It can be visualized as an inverted full pyramid placed on a regular full pyramid. In this ar...
read more
C Programs
C Language
C Examples
C Program to Print Hollow Hourglass Pattern
Last Updated: 13 December 2024
The Hollow Hourglass Pattern is a symmetrical pattern that resembles an hourglass but with hollow spaces inside and only edges having characters. In this article, we will ...
read more
C Programs
C Language
C Examples
C Program to Delete an Element in an Array
Last Updated: 02 April 2025
In this article, we will learn to how delete an element from an array in C. C arrays are static in size, it means that we cannot remove the element from the array memory. ...
read more
C Programs
C Language
Picked
C Examples
C Fundamental Practice Problems
Last Updated: 08 April 2025
Fundamentals concepts teach you the absolute basics of the programming. It is the bare minimum that you should know about the programming language to create basic programs...
read more
C Programs
C Language
C Functions Practice Problems
Last Updated: 08 April 2025
Functions are the basic building block of C programs. They enhance the modularity and code reusability by separating the logic of a particular task from the main code and ...
read more
C Programs
C Language
C Compound Data Types Practice Problems
Last Updated: 08 April 2025
Compound Data Types are those data types in C that are created using basic data types. They provide an interface to use the built-in data types is different ways to satisf...
read more
C Programs
C Language
1
2
3
4
...
501
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 !