# C Programming Code Examples

## C > Arrays and Matrices Code Examples

### Program to reverse an array without using another array

C Program Code Calculate Simple Interest -
C code example to input principle amount in some variable say principle and input time in some variable say time. Input rate in some variable say rate. Find simple interest using

C Program Code Find the Length of String -
C Program calculate length of string without using strlen() function. You can use standard library function 'strlen()' to find the length of a string, this C program computes the length

C++ Converting Centigrade to Fahrenheit -
To "convert temperature" from centigrade to Fahrenheit in the C++, you have to ask to the user to enter the temperature in "centigrade" to convert it into Fahrenheit (using fah = (1.8

Find the Largest Number Present in Array -
To find the largest element in an array in C++ programming, enter the array size, enter the array elements. Start finding for the Largest element in the array to "Display the Largest"

C++ Finding Area of Circle using Function -
C++ Program should have two functions one which takes radius as parameter and second takes diameter as parameter. If enters wrong option then tell users its 'valid selection' and

C Program to find lower Triangular Matrix -
Read elements in a matrix and check whether the matrix is a lower triangular matrix or not. To find whether a matrix is lower triangular or not we need to check if all elements above...

C++ An Object can be Passed to Functions -
An object can be passed to a function just like we pass structure to a function. Here in class A we have a "function disp()" in which we are passing the object of class A. Similarly we can

Program to Implement the RSA Algorithm -
Encodes any message using 'RSA Algorithm'. Input is 'Case Sensitive' and works only for all characters. RSA is one of the first practicable 'public-key' cryptosystems and is widely used