Escolar Documentos
Profissional Documentos
Cultura Documentos
Second year computer Engineering Subject: Data Structure Date: 20/09/2012 Assignment No.1 1. 2. 3. 4. 5. 6. Define recursion. Write a program of factorial given number using recursion. Write a function in C which will return function prototype structural pointer. Explain abstract data type. Define & show representation of two dimensional array in memory. Define & show representation of array in memory. What is need of Data Structure for programming language & also discuss primitive & non primitive data structure 7. Using data file write a program to accept a 30 numbers from keyboard & store them into a file. Again read the numbers for data file & store odd & even numbers into two separate files. 8. Write a program C program for addition of two complex number. 9. Explain function with call by value & call by reference. 10.Write a short note on pointer.