C Programming Code Examples
C > Mathematics Code Examples
QuickSort For Files in The C Programming
First, create a file to sort, write unsorted data to disk and now, sort the file. Sorting disk file. A Quicksort for files. First read in record i and j and then write them back in opposite slots.
Program Implement a Stack by Linked List
This Program implement a stack using linked list. A Stack is a type of queue that in practice is implemented as area of memory that holds all local variables and parameters used by any
Define and use Global variables in C code
C program code example to Define and use Global variables. Declare a global variable. Function prototypes. Hiding the global count. Function t1 using global variable. Function...
Find Sum of Node values at Row or Level
C Program to Find the Summation of Node values at Row or Level. Create a new node with the data from the user. Check for root node and then create it. Searching for the...
Folder Protection Software in C Language
This software can convert your File/Folder to Control Panel and can Restore again. Path of the file. This software is not responsible for any loss in data. New name of your folder/file
C Codes Multiply 2 Numbers use Function
Create a user defined function product() that multiplies the numbers that we are passing to it during function call. This c function returns the product of these numbers. To understand
Identify Whether the String is Palindrome
Take a string as input and store it in the array s[]. Load each character of the array s[] into the array stack[]. Use variables front and top to represent the last and top element of the
C Programs Calculates the Value of sin(x)
C Program Coding to Calculates the Value of sin(x). It's a non-differentiable function. Start at zero, then goes up to 1, then back down to 0. But then, instead of Going Negative, it will