Skip to content

Category Archives: C Programs

Write a C program to print X number pattern series using a loop. How to print the X number pattern series using for loop in… Read More
Thread interface and Memory consistency errors are demonstrated in this program. Threads are a way for a program to split itself into two or more… Read More
Converting string to int is a reoccurring task in the programming world. Despite being a simple task, many coders either fail or get confused while… Read More
Here in this article, we have created a console application that will write into a file. This console application will work in the background by… Read More
In this article, we will see the time of the different countries. The calculation is based relative to Indian Time. Simple conversion is done between… Read More
Exceptions are runtime anomalies or abnormal conditions that a program encounters during its execution. C doesn’t provide any specialized keywords for this purpose but in… Read More
Prerequisites:  Arrays in C/C++  Structure in C Using the structure pointer, we will implement a C program to create and print a database of students.… Read More
In this article, we will write a C program to interchange two random rows in a matrix. Below are the inputs that will be taken… Read More
The task is to hide the console window of a C program. The program for the same is given below. Note: The results of the… Read More
Practicing and solving problems is the best way to learn anything. Here, we have provided 100+ C programming examples in different categories like basic C… Read More
The below program adds two square matrices of size 4*4, we can change N for different dimensions.  Recommended: Please solve it on “PRACTICE” first, before… Read More
Given a string S representing a time in 24 hours format, with ‘_’ placed at positions of some digits, the task is to find the… Read More
What is the Determinant of a Matrix? The determinant of a Matrix is a special number that is defined only for square matrices (matrices that have… Read More
Write a recursive function to print the reverse of a given string.  C // C program to reverse a string using recursion # include <stdio.h>… Read More
Splitting a string by some delimiter is a very common task. For example, we have a comma-separated list of items from a file and we… Read More

Start Your Coding Journey Now!