Output of the following program will be:

1.9 Output of the following program will be:
main( )
{
int a [ ] = {1, 2, 9, 8, 6, 3, 5, 7, 8, 9};
int *p = a+1;
int *q = a+6;
printf (“\n%d”, q-p);
}
A) 9
B) 5
C) 2
D) None of the above

An expression contains assignment, relational and arithmetic operators.

1.7 An expression contains assignment, relational and arithmetic operators. If parentheses
are not specified, the order of evaluation of the operators would be:
A) assignment, arithmetic, relational
B) relational, arithmetic, assignment
C) assignment, relational, arithmetic
D) arithmetic, relational, assignment

How can a procedure be defined in ‘C’?

a) How can a procedure be defined in ‘C’? Give an example. Bring out the differences
between function and procedure.
b) Draw a flowchart and then develop an interactive ‘C’ program which finds whether a
given integer number is prime or not. Make use of a function subprogram.