Code: 19A05101T
R19
UNIT - IV
8
Design and write algorithm for finding the square root of a given integer. Trace your algorithm for
input value 16.
OR
9 (a) What is a pointer and pointer to a pointer? Illustrate the declaration and use of pointers and pointer
to a pointer in C with suitable example program.
(b) Write an algorithm for reversing the array elements. Trace your algorithm for the following array of
size 10.
a[10] = { 12, 3, 4, 48, 87, 54, 67, 43, 78, 19 }
UNIT - V
10 Design and write an algorithm to sort a given set of randomly ordered integers into non-descending
order using insertion method. Trace your algorithm for the following list of integers.
78 43 9 2 12 45 98 22
OR
11. (a) Explain the difference between structures and unions with the help of a C-program.
(b) Illustrate the passing of structures to functions through an example.
*****
Answers
Answered by
0
कोड: 19A05101T
R19
UNIT - IV
8
दिए गए पूर्णांक के वर्गमूल को खोजने के लिए एल्गोरिथ्म को डिज़ाइन करें और लिखें। के लिए अपना एल्गोरिथ्म ट्रेस करें
इनपुट मूल्य 16
या
9 (ए) एक पॉइंटर को पॉइंटर और पॉइंटर क्या है?
Similar questions