C Programming Code Examples
C > Conversions Code Examples
Program to Convert Decimal number to Octal Number
Binary Search Tree with Insertion Deletion -
C++ 'Binary Search Tree' insertion & deletion, finding an element, finding min element, max element, left child, right child, "recursive" and "nonrecursive" traversals, finding the number
C Code Demonstration of Tree Operations -
Program demonstration of Tree Operations - insertion, inorder, preorder, postorder. Enter the number of terms you want to add to the tree. Repeated entry error value rejected...
C Code Print all Even numbers from 1 to N -
C Language program print all even numbers from 1 to n using for loop. So first let us talk about the easiest way to print even numbers. If I ask you to list all even numbers from 1 to
C++ Check a Character is Alphabet or Not -
To check whether the entered character is an alphabet or not alphabet in the 'C++', enter a character and start checking for alphabet. To check for alphabet, use 'ASCII' of character, if
C++ Check a Number is Palindrome or not -
Palindrome number is a number that remains the same when its digits are reversed. 16461, for example: we take 121 and reverse it, after revers it is same as original. Get a value from
C Sum of Row & Column of a MxN Matrix -
C Program finds the sum of each row & each column of a MxN matrix. The c program code accepts an MxN matrix. Then adds each row of the matrix and also adds each column of...
C Matrix of Order M x N and Interchange -
C language program code to accept a matrix of order M x N and store its elements and interchange the main diagonal elements of the matrix with that of secondary diagonal
C programming Open and Copy Functions -
Open a source file. If there is an error giving message: Cannot open source file. Open destination file. If there is error give message: Cannot open destination file. If file won't