PPS QBANK 2 of 2023,2024 Ptu Ques Papsr
PPS QBANK 2 of 2023,2024 Ptu Ques Papsr
UNIT 1
UNIT 2
UNIT 3
1) How can we create a 2D array? Write a program to display sum of all the elements of a 2D
array.
2) What is 2D array, explain?
3) What is the difference between string and arrays? Also explain how you will decide whwn to
use which data type.
UNIT 4
UNIT 5, 6
UNIT 7
1) What is Structure?
2) How can we initialize the members of the structure?
3) Write a program to create a simple structure for sorting information of an employee?
4) Differentiate between structure and array.
UNIT 8
1) What is a pointer? Give an example how to use integer pointer.
2) Why is a pointer used?
3) Write a program to find the sum of all elements of an array using pointers.
4) Write the syntax to create a pointer.