C Record
C Record
No:
Date:
STUDENT MARKLIST
AIM:
Create a c program to take input of name ,rollno and marks obtained by a student in 4 subjects of
100 marks each and display the name,rollno with percentage score secured
PROCEDURE:
STEP 3: Get the input from the user like name ,rollno and four subjects marks
CODING:
OUTPUT:
RESULT:
AIM:
Create a c program to input two number and display the maximum number.
PROCEDURE:
SOURCE CODING:
OUTPUT:
ESULT:
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
TO PRINT POSITIVE INTEGERS FROM 1 TO 10 USING FOR LOOP
AIM:
Create a c program to print positive integers from 1 to 10.
PROCEDURE:
STEP 3: Check the for loop (i=1;i<10;i++) for print the positive integers from 1 to 10
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
CHECK WHETHER A NUMBER IS PALINDROME OR NOT
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed
Ex.No:
Date:
FIBONACCI SERIES
AIM:
Create a c program to generate Fibonacci series.
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
INSERT ELEMENTS INTO AN ARRAY AND
PRINT THE ELEMENTS OF THE ARRAY
AIM: Create a c program to insert 5 elements into an array and print the elements of the array.
PROCEDURE:
STEP 3: Get the input of 5 elements into an array and print the elements of the array
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
AIM:
Create a c program to reverse the array elements in c programming.
PROCEDURE:
STEP 3: Get the input of 5 elements into an array and print the elements of the array
STEP 4: Check whether a array was printed was reverse which user given.
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
CONCATENATION OF TWO STRINGS
AIM:
Create a c program to concatenate two strings.
PROCEDURE:
STEP 3: Get the input of 5 elements into an array and print the elements of the array
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
AIM:
Create a c program to compare two strings without using string library functions.
PROCEDURE:
STEP 4: Check whether a two strings without using string library functions
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed
Ex.No:
Date:
AIM:
Create a c program to generate Fibonacci series using recursive function.
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
ExNo:
Date:
FIND POWER OF ANY NUMBER USING RECURSION
AIM:
Create a c program to find power of any number using recursion.
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
USER DEFINED FUNCTION
AIM:
Create a c program to add, subtract, multiply and divide two integers using user defined type function with
return type.
PROCEDURE:
RESULT:
Thus the above program has successfully executed
Ex.No:
Date:
AIM:
Create a c program to swap two integer using call by value and call by Reference methods of passing
Arguments to a function
PROCEDURE:
STEP 3: Get the input of two integers A &B from the user
STEP 4: Check whether swap two integer using call by value and call by Reference methods of
passing Arguments to a function
RESULT:
AIM:
Create a c program to find biggest among three numbers using pointer.
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT:
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT
Thus the above program has successfully executed
Ex.No:
Date:
STUDENT MARKLIST USING STUCTURE
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT:
Thus the above program has successfully executed.
Ex.No:
Date:
UNION
PROCEDURE:
STEP 3: Check whether is the union values are assign the values such as int x; float y; char z.
SOURCE CODING:
OUTPUT:
RESULT:
PROCEDURE:
RESULT:
Thus the above program has successfully executed
Ex.No:
Date:
LIST ALL FILES AND SUB-DIRECTORIES IN A DIRECTORY
AIM:
PROCEDURE:
SOURCE CODING:
OUTPUT:
RESULT: