You are on page 1of 1

G. H.

Raisoni Academy of Engineering & Technology


(NAAC ACCREDITED)
Shradha Park, B-37/39/1, MIDC, Off. Hingna-Wadi Link Road, Nagpur-440028
Email:- ghraetnag@raisoni.net Web:- www.ghraet.raisoni.net
Department of Electronics & Communication Engineering
Assignment Sheet
(Session: 2019 -20)

Assignment No : 01 Subject : ACPLD


Department : CSE Semester : III Section: - A
Unit No. : 1 & 3 Date of Assignment given : 12/07/2019
Name of the Faculty : Prof.P.G.Gonnade Date of Assignment submission : 17/07/2019

Q. No. Questions CO Mapped


Q1 A. Differentiate between structure and union with example. CO-1
B. Explain the difference between array and structure.
Q2 Write a c program to compare one string to another without using library function. CO-1
Q3 Write a function which accepts a string and an integer number 'n'. The function CO-1
should print that string 'n' number of times and return the length of the string. Print
the length of the string in calling function i.e. main ( ).

Q4 A. Write short note on: CO-3


i) Static memory allocation. ii) Dynamic memory allocation. iii) Pointer to
structure
B. Define a structure Blood Bank containing name of donor, age of donor and blood
group. WAP which accepts information of 100 donor and displays information of
those donor having blood group “O”.

Q5 CO-3
Explain Call by value and Call by reference. Also write a program to swap two
numbers using call by value and call by reference.

Signature of faculty

You might also like