What is a structure?

c) What is a structure? How does a structure differ from a union? Give examples. For what
kind of applications, union data structure is useful? How are arrays different from
structure?

What is a pointer in ‘C’?

a) What is a pointer in ‘C’? How is a pointer variable declared? Give examples and explain.
Enumerate the utility of pointer variables.

What are subscripts?

b) What are subscripts? How are they specified? What restrictions apply to the values that
can be assigned to subscripts in ‘C’ language?

Define an array.

a) Define an array. How are arrays processed in ‘C’? Illustrate by taking two-dimensional
arrays as examples.

Write and explain the action of WHILE statement.

a) Write and explain the action of WHILE statement. Develop a program in ‘C’ language to
compute the average of every third integer number lying between 1 and 100. Include
appropriate documentation.
b) Develop a function to calculate sum of n even integers starting from a given even
integer.