C Programming Code Examples
C > Beginners Lab Assignments Code Examples
Invoke function without main in C Language
Diameter Circumference & Area of Circle -
C program code input radius of a circle from user and find diameter, circumference and area of the circle. How to calculate diameter, circumference and area of a circle whose...
Code Checks a String is Palindrome or Not -
C Program to check Whether a given string is palindrome or not 'using recursion'. Program, with recursion, determines the entered string is a 'palindrome' or not. Palindrome is a word,
C Check a Number is Divisible by 5 and 13 -
Check whether a number is divisible by 5 and 13 or not using if else. A number is divisible by some other number if it gives 0 as remainder. To check if a number is exactly divisible by a...
C++ Two-Dimension Transformations In -
This C++ Program code example deals with all two-d transformation such as translation, 'scaling', 'rotation', 'reflection', 'shearing' in homogeneous coordinates. Transformation
Sort Rows of the Matrix Ascending Order -
Program code sorts the rows of the matrix in ascending & columns in descending order. This program accepts matrix. Then sorts the row in an ascending order & the columns in
C++ Program Code Implement Radix Sort -
In this algorithm Sorting of Data is done from least significant digit to most significant digit. Here we need 10 different spaces labeled 0 to 9. Assume we have "n" Number of inputs. Let
Program to Implement strpbrk() Function -
Locates "first occurrence" in string string1 of any character in string string2, If a character from string string2 is found, a pointer to the character in string 'string1' is returned, if not
The Guessing Game code C programming -
Declare variable to be guess. Declare variable to store guessed date. Declare variable to test for invalid input. Display the intro and directions. Get the users guess and store it.