Sum of first N natural numbers in C As we know natural numbers contain all the positive numbers starting from 1, 2,…
c programs
-
-
Round Robin Program in C with Output A round-robin is a CPU scheduling algorithm that shares equal portions of resources in circular…
-
What is the main in C? In this topic, we will discuss the main in C programming language. A main is a…
-
Self-referential structure The self-referential structure is a structure that points to the same type of structure. It contains one or more pointers…
-
Difference between while loop and do-while loop in C? In this article, we learn comparison between the while loop and do-while loop…
-
Floyd’s Triangle in C The Floyd’s triangle is a right-angled triangle that contains consecutive natural numbers. In Floyd’s triangle, the number starts…
-
LCM of two numbers in C In this topic, we will discuss the LCM and how we can get the LCM of…
-
isprint() function in C This section will discuss the isprint() function in the C programming language. The isprint() function is a predefined…
-
Leap year program in C First of all, it is important to know what is leap year? Generally, a year has 365…
-
itoa Function in C itoa () function is used to convert int data type to string data type in C language. SYNTAX…