Section A
Long Answer Questions
Attempt any Two questions.
1.
What is structure? Why do we need it? Write a program to add two distances given in meter and centimeter format using structure.
2.
How do you declare and initialize pointer? Write a program to find first and second largest element from an array using pointer.
3.
Why do we need external function? Distinguish between local and global variables. Write a function to find the average of five given integers using function.
Section B
Attempt any Eight questions
[8x5=40]4.
Write a program to copy the content of one file to another in a reverse manner.
5.
Discuss about compiling, assembling, loading and linking.
6.
Write a program to find the length of a string without using built in function.
7.
Write a program to find the sum of diagonal elements only in the given matrix.
8.
Generate the following pattern using loop.
BITTU
BITT
BIT
BI
B
BITTU
BITT
BIT
BI
B
9.
Demonstrate the concept of switch statement with an example.
10.
Discuss about bitwise and size of operator.
11.
What is type conversion? What are conversion specifiers?
12.
Draw a flowchart to find whether the given character is vowel or not.


