You are on page 1of 1
wuestions carry equal marks. ‘except Seat Ni noe Enrollment Number, Name, Institute/College answer shee sr along with your answer script. Marks] ead and print the student details (name, roll no, percentage) using structure ry allocation. Assign datatypes according to nature of data. the following data by using Selection Sort. Show complete array afer each iteration of the ees ; 7 | 56.[ 1 | 78, [14 [96 [i102 [38 | 0 | 29 Question #2 (44544) Marks _| ‘a) Write the recursive function that takes base (say x) and the exponent (say n) and calculates power (X*). Your function should deal with the condition that exponent must not be negative. }) Assume that the following function is called with the argument 0, what will be the final output? void test (int value) t if (value !="8) ( Value += 2; printt(*td\n,value); test (value); printf (*td\n", value) ;

You might also like