BCA Semester 2 – C programming – Unit 9: Pointer (6Hrs)
Comprehensive questions and detailed answers for Unit 9: Pointer (6Hrs). Perfect for exam preparation and concept clarity.
What is DMA? Write a program to find the largest and smallest number in a list of n numbers using DMA.
Define pointer. Write a program to find sum of 10 numbers using pointer.
How will you define pointer? Write a program that illustrate how pointer variable change the value of normal variable.
Why do you use DMA instead of array? Explain DMA with suitable example.
Write a C program to store the player name, runs scored, wickets taken of 20 cricketers using structure along with pointer then arrange the players in order of maximum wickets to minimum wickets they had taken.
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.
What is the advantage of pointer? Write a C program to store 10 integers into memory and find out minimum and maximum using dynamic memory allocation (DMA).
Sample Questions
Define pointer. Write a program to find sum of 10 numbers using pointer.
How will you define pointer? Write a program that illustrate how pointer variable change the value of normal variable.
Why do you use DMA instead of array? Explain DMA with suitable example.
Write a C program to store the player name, runs scored, wickets taken of 20 cricketers using structure along with pointer then arrange the players in order of maximum wickets to minimum wickets they
And more questions available on this page.