What do you mean by multi-dimensional array? Write a program to display the sum of two mxn matrices. [5]
Control Structures
1.
How break statement is different from continue statement. Explain with examples? [5]
2.
Write a program to generate the following pattern of integers.
$1$
$1 2 1$
$1 2 3 2 1$
$1 2 3 4 3 2 1$
[5]
Elements of C
1.
What is an Identifier and Keyword? Explain the rules for naming valid Identifiers in C with example. Write a program to convert a given string to lowercase without using any library functions. [5+5]
2.
What different data types available in C along with their respective range? Write a program to check whether a given integer is palindrome or not. [5+5]
File Handling
1.
Write a program to create a file "duplicate" that contains the exact copy of file "original". [5]
Input/output Functions
1.
Explain any four input/output functions used in C language with suitable example [5]
2.
Write Short Notes on: a) Escape Sequence Write Short Notes on: b) Null Pointer [2.5+2.5]
Introduction
1.
What is the basic structure of a C program? Explain each part. [5]
Operators and Expressions
1.
What is an expression and operator? Discuss operator associativity in C. Write a program to find factorial of a given integer using recursion. [5+5]
Pointers
1.
Write a program to find smallest element of an array using a pointer. [5]
Structure and Unions
1.
Write a program to store and display basic information (Roll, name, address, email. and phone) of students of using a structure. [5]