Pointers in C(2022-23)
Assignment -1
1. What is pointer variable? Give example.
2. Differentiate between static & dynamic
memory allocation.
3.
Write a ‘C’ program to calculate area, &
perimeter and diameter of circle
using one function for all & use
pointers.
4.
Explain types of pointer.
5.
Explain function pointer in details.
6.
Differentiate between array of pointer and
pointer to array.
7.
Explain dynamic memory allocation.
8.
Define pointer. Read complex pointer Int (*p)[]
9.
What array of pointer.
10.
Differentiate between call by value & call
by reference.
11.
Program to compute the sum of all elements in an
array using pointers.
12.
Explain malloc and calloc functions with
example.
13.
Write a C program to accept a n number using
pointer and print its reverse.
Comments
Post a Comment