Category: C Programming Source Code

Number Base Conversion in C – Decimal, Binary and Octal

This is a Number Base Conversion Program written in C. It is designed to assist novice C programmers in understanding and implementing basic number base conversions. New C programmers can use this program as a reference to grasp fundamental concepts of number base conversions and modular programming in the C language.

Read More

Telephone Directory Program in C

This is telephone directory program written in C and uses BGI Graphics to display data. The program takes Name, Phone Number, Mobile Number, Address and saves it in newly created file. The program also shows saved record on screen. User can find and delete the records too.

Read More

Multiplication of Two Matrices in C

This C code multiplies two 2×2 matrices. It prompts the user to input values for both matrices, displays the input matrices, performs matrix multiplication using nested loops, and then prints the resulting matrix. The code adheres to modern C standards, using printf and scanf for I/O and avoiding outdated functions for better readability and compatibility.

Read More

Directory Traversing in C using Tree Data Structure

This is a C Program to implement tree data structure. It uses current working directory as the root and traverse all files inside the directory and prints them on the screen. You can use any C/C++ compilers to compile and run this program however, it is tested using Turbo C++ Compiler only.

Read More

Display Days of Week using enum Keyword in C

This C program uses enumerated types to display days of week. The enumerated type is then declared as a different name using typedef keyword i.e. enum days  to typedef enum days days. The function prints for each day of the week, today, yesterday, and tomorrow, both as a string and as a number.

Read More

Perform Linear Search on integer Arrays in C

This C program demonstrates basic functionalities for handling integer arrays. It allows users to input integers into an array, prints the array, and performs linear searches based on user input until the user enters 0 to terminate.

Read More

Data Structures and Algorithms Python: The Complete Bootcamp
View on Udemy