Attempt any Eight questions.
[8*5=40]
4.
Describe the different types of I/O functions used in file handling with syntax. [5]
5.
Write a program to read P*Q matrix of integers and find the largest integer of each row and display it. [5]
6.
Write a program to calculate the factorial of a given number using recursion. [5]
7.
Write a program to check whether the entered word is palindrome or not. [5]
8.
Write a program to compute the sum of first 10 even numbers using function. [5]
9.
What is dynamic memory allocation? Explain with a suitable program. [5]
10.
Write a program to initialize an array of dimension 10 and sort the numbers within the array in ascending order. [5]
11.
Trace the output #include <conio.h>
#include <stdio.h> void main() { int i = 0, k; for (k = 5; k >= 0; k–) { i = i + k; printf("%d\t", i); getch(); [5] 12.
List different types of operators and explain any three of them. [5]