Professional Documents
Culture Documents
Eeeb Labevln2 Set2
Eeeb Labevln2 Set2
Course Outcomes
---------------------------------------------------------------------------------------------------------------------
SET – 2
Question 1:
There is one string array River (2D character arrays) and an integer array Length - the first one
stores the River names and the second one stores the corresponding length (in Kms.) from its
origin till its destination (meeting an ocean/merging with another river etc.). For example, if the
first string in Country is “Ganga”, the first entry in Length will be 2150. Write a C program that
contains a function to print the name of the rivers, whose lengths are more than the average
length of all the rivers in the array. [CO4 BTL-3, 10 Marks]
Question 2:
Write a C program to find sum of square of digits of a number using recursion. (Example digit
123, answer 14)
Rubrics
*****