 # C Programming Code Examples

## C > Beginners Lab Assignments Code Examples

### Store Information(name, roll and marks) of a Student Using Structure

Find Nth Fibonacci Number Use Recursion - C Program to find the nth 'fibonacci number' using recursion. Program prints the fibonacci of a number. In fibonacci series, each number is the sum of the 2 preceding numbers. 0, 1, 1,

Random Numbers Probability Distribution - Program to generate random numbers using Probability Distribution Function. Probability distribution is based on "Probability Density" function. a probability density function (pdf),

C Convert the File Contents in Upper-Case - C Program to read a text file and convert the file contents in capital (Upper-case) and write the contents in a output file. Program to copy contents of one file into another by changing

Converts Hexadecimal to Decimal Number - C program to input hexadecimal number and convert it to Decimal number. Hexadecimal number system is a base 16 number system. It uses 16 symbols to represent all number i.e.

Multiply Two Matrix by Multi Dimensional - In this program, "enter the size "of 2 matrix at first. To multiply two matrices, the number of columns of first matrix should be equal to the "number of rows" to second matrix. C++ Code

C Language Copy the Strings Use Pointers - C program 'Copy one String to another' string using loop. Input string from user and store it to some variable say "text1". Declare another variable to Store copy of first string in "text2".

C Language Calculation Divide Product PI - C Calculations on a table, the radius of table, the diameter of the table, the circumference of the table, the area of a circle, calculate the radius, calculate the circumference, calculate

C Language Sample Add Two Polynomials - Enrter the elements of the first poly. Unable to create memory. Enter the elements of the second poly. Printing the elements of the lists. The elements of the poly first are. The...