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
Misc
8.8K+ articles
C++
4.3K+ articles
C++ Programs
2.4K+ articles
C Language
1.8K+ articles
School Programming
1.5K+ articles
C Programs
705+ articles
CPP-Basics
102+ articles
C-Data Types
39+ articles
C Basics
76 posts
Recent Articles
Popular Articles
When to Use Enum Instead of Define in C?
Last Updated: 02 April 2024
In C programming, both#defineandenumcan be used to declare integer constants but there are situations where usingenumis more beneficial than#define. In this article, we wi...
read more
C Basics
C Language
C-Struct-Union-Enum
C Programs
Picked
C Examples
Buffer in C Programming
Last Updated: 08 January 2024
In C, the buffer is referred to as a sequential section of memory that is used to temporarily store some data that is being transferred from one place to another. For Exam...
read more
C Basics
C Language
C Identifiers
Last Updated: 13 May 2025
In C programming, identifiers are the names used to identify variables, functions, arrays, structures, or any other user-defined items. It is a name that uniquely identifi...
read more
C Basics
C Language
Picked
Derived Data Types in C
Last Updated: 06 September 2023
Data types in the C language can be categorized into three types, namely primitive, user-defined, and derived data types. In this article, we shall learn about derived dat...
read more
c-array
C Basics
C Language
C-Pointers
Pointers
Arrays
C-Functions
Functions
References
%d in C
Last Updated: 06 June 2023
The format specifiers in C are used in formatted strings to represent the type of data to be printed. Different data types have different format specifiers. %d is one such...
read more
C Basics
C Language
Newline in C
Last Updated: 06 June 2023
An escape sequence in C is a character or a sequence of characters that are used to represent characters that cannot be represented normally. One such character is the new...
read more
C Basics
C Language
Local Variable in C
Last Updated: 19 April 2023
In C language, a variable declared within a function or a block of code is called a local variable. Local variables are frequently used to temporarily store data in a defi...
read more
C Basics
C Language
main Function in C
Last Updated: 07 March 2025
Themainfunction is the entry point of a C program. It is a user-defined function where the execution of a program starts. Every C program must contain, and its return valu...
read more
C Basics
C Language
printf in C
Last Updated: 19 May 2025
In C language, printf() function is used to print formatted output in many ways to the standard output stdout (which is generally the console screen).Example:[GFGTABS] ...
read more
C Basics
C Language
C - if Statement
Last Updated: 12 December 2024
The if in C is the simplest decision-making statement. It consists of the test condition and a block of code that is executed if and only if the given condition is true. ...
read more
C Basics
C Language
C Decision Making
Difference between exit() and break in C/C++
Last Updated: 11 June 2022
In this article, the topic is to understand the difference between exit() and break.exit():When a user wants to exit a program from this function is used.It is a void retu...
read more
exit
C Basics
C Language
Difference Between
C Programs
Program that allows integer input only
Last Updated: 05 June 2022
Given an input value N, the task is to allow taking only integer input from the user.Now, if the user enters any input other than an integer, that is, a character or symbo...
read more
C Basics
C Language
C Programs
Variadic Functions in C
Last Updated: 07 March 2025
In C, variadic functions are functions that can take a variable number of arguments. This feature is useful when the number of arguments for a function is unknown. It take...
read more
C Basics
C Language
C-Functions
Why global array has a larger size than the local array?
Last Updated: 21 April 2025
An array in any programming language is a collection of similar data items stored at contiguous memory locations and elements can be accessed randomly using array indices....
read more
Arrays
Competitive Programming
C Basics
CPP-Basics
C++
C++ Programs
DSA
Short-circuit evaluation in Programming
Last Updated: 16 July 2022
Short-Circuit Evaluation: Short-circuiting is a programming concept in which the compiler skips the execution or evaluation of some sub-expressions in a logical expression...
read more
C Basics
C Language
C Programs
1
2
3
4
5
6
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 !