Certificate: Pillai College of Arts, Commerce & Science
Certificate: Pillai College of Arts, Commerce & Science
CERTIFICATE
Mumbai.
Place:
Date:
Dr. K.M. Vasudevan Pillai Campus, Sector 16, New Panvel - 410206. Tel : 27456100 / 1700 | Fax : 27483208 | Website :
www.pcacs.ac.in
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
INDEX
subtraction of matrices.
e. Write a program that performs multiplication of
matrices.
Pointers
a. Write a program to demonstrate the use of
pointers.
7 b. Write a program to perform addition and subtraction
of two pointer
variables
Structures and Unions
PRACTICAL-1
AIM:- Basic Programs:
a. Write a program to display the message HELLO WORLD.
OUTPUT:
b. Write a program to declare some variables of type int, float and double.
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
PRACTICAL-2
Aim:- Programs on variables:
a. Write a program to swap two numbers without using a third variable.
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
PRACTICAL-3
Aim:-Programs on patterns:
Programs to draw different pattern .
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
PRACTICAL-4
Aim:- Functions Program:
Function with an argument and return type
Programs on Functions using call by value and reference.
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
PRACTICAL-5
Aim:- Recursive functions:
a. Write a program to find the factorial of a number using recursive
function.
INPUTT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
PRACTICAL-6
Aim:- Arrays
a. Write a program to find the largest value that is stored in the
array .
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
b. Write a program to compute the sum and average of all elements stored in
an array.
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
c. Write a program to arrange the ‘n’ numbers stored in the array in ascending and descending order.
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
PRACTICAL-7
Aim:- Pointers:
a. Write a program to demonstrate the use of
pointers.
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
PRACTICAL-8
Aim:- Structures and Unions:
a. Programs on structures.(nested structure, array of structure)
INPUT:
OUTPUT:
Name: Chaturvedi Amisha
Class: FYCS A
Roll no: 2275
b. Programs on unions.
INPUT:
OUTPUT: