0% found this document useful (0 votes)
12 views1 page

C Programming Assignments on Pointers

Uploaded by

Suvasish Nath
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)
12 views1 page

C Programming Assignments on Pointers

Uploaded by

Suvasish Nath
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

ITER, SIKSHA ‘O’ ANUSANDHAN (Deemed to be University) Assignment 4

Branch ME Programme [Link]


Course Name Engineering Problem Solving with C Semester 5th
Course Code MEL 3109 Academic Year 2021-25
Laboratory Assignments Topic: Pointers and Functions
Learning Level L1:Remembering L3:Applying L5:Evaluating
(LL) L2:Understanding L4:Analysing L6:Creating
Q’s Questions COs LL
1 Write a C program to perform different arithmetic operations using pointers. CO5 L3, L4

2 Write a C program to calculate square and cube of the entered number using CO5 L3, L4
pointer of the variable containing entered number.
3 Write a program to calculate square of a number using user-defined function. CO5 L3, L4

Write a C program to to perform swapping of two number using call by ref- CO5,
4 L3, L5
erence approach. CO6

5 Write a C program to to calculate factorial of a given number using recursion. CO6 L3


Write a C program having user-defined functions for performing the following
6 tasks: CO6 L3
(i). Cube of a number
(ii). Perimeter of a circle.
7 Write a C program to find sum of n natural number using recursion. CO6 L3

Note:
1. Assignment carries a weightage of 20 marks out of 100
2. All the course outcomes were covered.

CO1 Design programs that show how to use the variables, data types and operators.
CO2 Learn to use selection/control structures in the program.
Course CO3 Design programs using different type of loops for given problems.
Outcomes CO4 Understand the concept of data structures and solve problems based on Arrays.
Demonstrate the use of standard string functions and pointer in the development of the
CO5
programs.
CO6 Design programs using top-down designing approach with function(s).

You might also like