C Programming Code Examples
C > Conversions Code Examples
C Program to Convert Octal Number to Decimal Number
C Standard Form of a Quadratic Equation -
The determinant tells the nature of the roots. b*b-4ac: Determinant of quadratic equation. If determinant is greater than 0, the roots are real and different. If determinant is equal to 0
Check Even or Odd using Bitwise Operator -
C Language program code sample input any number and check whether the given number is even or odd using bitwise operator. How to check whether a number is even or odd using
C Program Reverse a String Use Recursion -
Program reverse the string 'Using Recursion'. C program uses recursive function & reverses the string in the same 'Memory Location'. Eg 'Superman8' will be reversed to '8namrepuS'
C Language Finding the Sum of A.P Series -
Program calculates the the sum of A.P series. This C program is used to find the sum of the "Arithmetic Progression Series" and Here A.P stands for Arithmetic Progression. Sequence
C Program Computes Factorial of number -
The Factorial of a Positive Number n is given by: factorial of n (n!) = 1*2*3*4...n. Factorial of a negative number doesn't exist. And, the factorial of 0 is 1, 0! = 1. The program takes a
Finds Prime Number in C++ The Language -
In C++ coding, we take a 'For Loop' which will start from 1 up to number that has entered to check whether it is Prime Number or not with in for loop we set an 'IF' condition and placed
C coding to Accessing 2-D Array Elements -
Program code to access every 2-D Array we requires 2 subscript variables. y - Refers the Row number. x - Refers Column number. a[1][0] refers element belonging to first row
C++ Matrix Addition Operation of Adding -
Two dimensional array in C++, represented in the form of rows and columns, also suitable with matrix. For multi dimensional array, the element with indices i,j would have "address"