You are on page 1of 1

RNS INSTITUTE OF TECHNOLOGY

Dr. Vishnuvardhan Road, Channasandra, Rajarajeshwari Nagar Post, Bengaluru - 560 098.
Department of Artificial Intelligence and Machine Learning

21CS32 Data Structures and Applications (DSA)

ASSIGNMENT -1

Due Date: 25/11/2022

1. Write a C Program to read n elements to an array and display the values from the end-to-begin.
2. If an array’s base address is 8000 and word size is 4 bytes, find the address of a[25].
3. Write a C program to demonstrate sorting of an array.
4. Write a C program to search an element in an array.
5. Define a pointer. Write a C function to swap two numbers using pointers.

You might also like