Cprogramming 2020 Questionpaper
Cprogramming 2020 Questionpaper
Group B
4. Define an array? Write a program to generate the following output using loop.[1+4]
1
12
123
1234
12345
7. Why DMA is used in C language? Write a program to enter age of 20 students and count age
between 18 and 25 from the array using DMA functions.[5]
Group C
9. What is union? Write a C program to enter bid,title,price,pages of 100 book into structure
variable called book and sort them in descending order on the basis of their title with use of pointer.[2+8]
10.What is the use of data file in C? Write a program to accept 100 numbers from user and store
them in odd.txt file(if number is odd) or even.txt(If number is even) then display odd numbers
reading from odd.txt file.[1+9]
11. What do you mean by System design tools? Explain any four design tools with suitable examples.[2+8]