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
C++
4k+ articles
C++ Programs
2.5k+ articles
C Programs
800+ articles
C Quiz
280+ articles
C++ Quiz
140+ articles
C-Library
120+ articles
C-Functions
97 articles
C Examples
95 articles
C-DSA
76 articles
Programming Language
>
C Language
C Language
2.2k+ posts
Popular Articles
Recent Articles
Dynamic Memory Allocation in C using malloc(), calloc(), free() and realloc()
Last Updated: 06 March 2025
In C, a variable defined in a function is stored in the stack memory. The requirement of this memory is that it needs to know the size of th
...read more
C Basics
C Language
C-Dynamic Memory Allocation
Dynamic Memory Allocation
c-memory-management
Substring in C++
Last Updated: 11 January 2025
The substring function is used for handling string operations like strcat(), append(), etc. It generates a new string with its value initial
...read more
CPP-Library
cpp-string
C Language
C++
C-String
C-Library
Segmentation Fault in C++
Last Updated: 11 January 2025
Segmentation faults C++ is an error that occurs when a program attempts to access a memory location it does not have permission to access. G
...read more
Competitive Programming
memory-management
C Language
C++
C-Dynamic Memory Allocation
DSA
C++ Errors
Similar Topics
DSA
22.3k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
C Programs
800+ articles
C Quiz
280+ articles
C++ Quiz
140+ articles
C-Library
120+ articles
C-Functions
97+ articles
C Examples
95+ articles
C-DSA
76+ articles
Strings in C
Last Updated: 24 April 2025
A String in C programming is a sequence of characters terminated with a null character '\0'. The C String is work as an array of characters.
...read more
C Language
C-String
Multidimensional Arrays in C - 2D and 3D Arrays
Last Updated: 10 January 2025
Prerequisite: Arrays in CA multi-dimensional array can be defined as an array that has more than one dimension. Having more than one dimensi
...read more
c-array
cpp-array
C Language
C++
C-Arrays
Command Line Arguments in C
Last Updated: 10 January 2025
The most important function of C is the main() function. It is mostly defined with a return type of int and without parameters.int main() {
...read more
C Language
C++
TCS
C Pointers
Last Updated: 15 April 2025
A pointer is a variable that stores the memory address of another variable. Instead of holding a direct value, it has the address where the
...read more
C Language
C-Pointers
Pointers
Socket Programming in C
Last Updated: 23 April 2025
Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular po
...read more
C Language
Socket-programming
sort() in C++ STL
Last Updated: 10 January 2025
In C++, sort() is a built-in function used to sort the given range in desired order. It provides a simple and efficient way to sort the data
...read more
STL
CPP-Library
C Language
C++
cpp-algorithm-library
Data Types in C
Last Updated: 25 March 2025
Each variable in C has an associated data type. It specifies the type of data that the variable can store like integer, character, floating,
...read more
C Basics
C Language
C-Data Types
C Arrays
Last Updated: 24 April 2025
An array in C is a fixed-size collection of similar data items stored in contiguous memory locations. It can be used to store the collection
...read more
C Language
C-Arrays
Function Pointer in C
Last Updated: 06 January 2025
In C, a function pointer is a type of pointer that stores the address of a function, allowing functions to be passed as arguments and invoke
...read more
cpp-pointer
CPP-Functions
C Language
C-Pointers
C Structures
Last Updated: 21 January 2025
In C, a structure is a user-defined data type that can be used to group items of possibly different types into a single type. The struct key
...read more
C Basics
C Language
C-Structure & Union
Bitwise Operators in C
Last Updated: 10 January 2025
In C, the following 6 operators are bitwise operators (also known as bit operators as they work at the bit-level). They are used to perform
...read more
Bit Magic
Bitwise-XOR
cpp-operator
C Language
C++
C-Operators
DSA
C Language Introduction
Last Updated: 02 April 2025
C is a procedural programming language initially developed by Dennis Ritchie in the year 1972 at Bell Laboratories of ATT Labs. It was mainl
...read more
C Basics
C Language
Listicles
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
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 !