Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
16 views18 pages

Practial File C

Uploaded by

Mannat Bhagat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views18 pages

Practial File C

Uploaded by

Mannat Bhagat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Question 13:-

Write a program to add,subtract,multiply and divide


two numbers using pointers.
Source Code
Output

Question 14:-
Write a menu driven to construct a calculator for the
following arithmetic operations:
addition,subtraction,multiplication,division,average
and percentage.
Source Code
Output
Question 15:-
Write a program to display fibonacci series upto N
terms using recursive functions.
Source Code
Output

Question 16:-
Write a program to perform
(i) matrix addition,
(ii) matrix multiplication
Source Code(i)
Output(i)

Source Code(ii)
Output(ii)
Question 17:-
Write a menu driven program to perform the following
operations:
(i) Print armstrong numbers upto N (ii)
Reverse of an integer
Source Code
Output
Question 18:-
Write a program to make use of arrays with structures
in the following ways:
(i) Use array as a structure data member
(ii) Create array of structure variables
Source Code
Output

You might also like