Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

What is an operator? Explain arithmetic, relational, logical and bitwise operators with examples.

operators
2long10 marks

Explain the different types of looping statements with syntax and example. Write a program to check whether a number is an Armstrong number.

loops
3long10 marks

What is a pointer? Explain pointer to pointer, pointer to array and pointer to function with examples.

pointers
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Explain the steps involved in creating and running a C program.

program-structure
5short5 marks

Differentiate between local and global variables.

scope
6short5 marks

Write a program to reverse a given number.

loops
7short5 marks

What is a string? Explain strlen(), strcpy(), strcat() and strcmp().

strings
8short5 marks

Explain the difference between structure and array.

structures
9short5 marks

Write a program to find the largest element of an array.

arrays
10short5 marks

Explain the static and register storage classes.

storage-class
11short5 marks

What is a command line argument? Explain with example.

functions
12short5 marks

Write short notes on typedef.

data-types