UNIT - V Pointers Marks
UNIT - V Pointers Marks
com/programming-in-c-
for-msbte-k-scheme/
312303 - Programming In ‘C’ (Sem II)
As per MSBTE’s K Scheme
CO / CM / IF / AI / AN / DS
S. N. Exam
MSBTE Board Asked Questions Marks
Year
1. Define Pointer. Write syntax for pointer declaration W-23 2M
W-23
2. Explain pointer arithmetic operation with example. 4M
W-19
Develop a c program to sum of all elements stored in given array W-23
3. 6M
using pointer S- 23
Write a program to accept two numbers from user and perform
4. addition, subtraction, multiplication and division operations W-23 6M
using pointers.
5. Explain pointer with example S-23 2M
6. Write a program calculate sum of all elements using structure S-23 4M
Write a c program to demonstrate access structure menbers
7. S-23 6M
using pointers
8. Write the meaning of ‘&’ and * with respect to pointer. W-22 2M
Write output for following programming code: #include<stdio.h>
#include<conio.h> void main ( )
{
int x, y, a, b, *P1, *P2 ; x = 10 ; y = 20 ;
9. P1 = &x ; P2 = &y ; W-22 4M
a = *P1 * *P2+20 ; b = *P1 * *P2–20 ; print f(“x=%d, y=%d”, x,y) ;
print f(“a=%d, b=%d”, a,b) ;
}
Write a program to find largest number from an array using
10. W-22 6M
pointer.
Write a C program using pointer to read an array of characters
11. W-22 6M
and print them in reverse order
12. State the syntax to declare a pointer variable with example. S-22 2M
Explain meaning of following statements with reference to
13. pointers S-22 4M
int *a, b ; b = 20 ; *a = b ; a = &b ;
14. Write a program to compute the sum of all elements stored in an S-22 6M
array using pointers.
15. Write a program to perform arithmetic operations on pointer S-22 6M
16. State the syntax to declare pointer variable with example. W-19 2M
State four arithmetic operations perform on pointer with
17. S-19 4M
example.
Explain meaning of following statement with reference to
18. pointers : S-19 4M
int *a, b; b = 20; *a = b; A = &b;
Write a program to print reverse of a entered string using
19. S-19 6M
pointer.
20. Define pointer. Write syntax for pointer declaration. W-18 2M
Write the output of following c program #include<stdio.h>
int main ( )
{ char *ptr;
21. char str[]=“MAHARASHTRA STATE BOARD OF TECHNICAL W-18 4M
EDUCATION”; ptr=str; ptr=ptr+11; printf(“%s”,++ptr);
return 0;
}
Write a program to accept two numbers from user and perform
22. addition, subtraction, multiplication and division operations W-18 6M
using pointer.
23. Give any four advantages of pointer. S-18 2M
Implement a program to demonstrate concept of pointers to
24. S-18 6M
function.
Thank You
https://shikshamentor.com/programming-in-c-for-msbte-k-
scheme/
Visit
https://shikshamentor.com/