Professional Documents
Culture Documents
p a
6x5=30
p e
iii. Explain the usage of getch (), getche (), getchar().
b r
ii. Write a program to print the series 1, 4, 9, 16….. upto 10 terms.
a
iv. Write a program using switch-case statement.
v. Write a program to reverse a number.
r p
vi. Explain recursive function.
vii. Differentiate between for loop and While loop.
b
viii. Write a program to sort an array in ascending order.
SECTION-C
Q3. Attempt any two questions. 2x15=30
a. Explain various data types in C language.
b. Explain control structures in C language.
c. Write a program to multiply two matrices. Each matrix has 3 rows and 3 columns.