Write a function that will compute

b) Write a function that will compute
Y = X^n
Where Y and X are floating point numbers and n is an integer number. Use this function
and print the output
X n Y
… … …
Check for possible exceptions that may occur during computations with regard to the
magnitude of computed values.

Develop loops using

a) Develop loops using
i) While statement
ii) Do-while statement
iii) For statement
that will calculate the sum of every third integer, beginning with k=2 for all values of
k <= 100.

Formatted I/O can be produced with the routine(s)

A. integer array B. pointers C. program
D. printf( ) and scanf( ) E. character array F. &&
G. function H. Main I. getw( )
J. reference, value K. static L. for
M. extern N. ternary O. register
P. putw( ) Q. main( )
4.1 Formatted I/O can be produced with the routine(s) ________.
4.2 The ________statement is used to loop as long as a specified condition is met.
4.3 To create a string variable, me must declare a(n) ________ with enough elements to
contain the entire string.
4.4 Call by ________ is more efficient than call by file.
4.5 exit( ) function is used to terminate the ________.
4.6 The only operator that contains three operands is ________ operator.
4.7 The declaration ________ does not allocate storage space for variable.
4.8 The function ________ reads an integer from a file.
4.9 All buffers are cleared when a ________ closed.
4.10 Preprocessor directives are placed in the source program before the function ________.

Scalar data types are not supported by ‘C’ language.

Each statement below is either TRUE or FALSE.

2.1 Scalar data types are not supported by ‘C’ language.
2.2 ‘C’ language allows arrays of any dimensions.
2.3 A structure cannot be read as a single entity.
2.4 The associativity of operator ! is from left to right. .
2.5 J++ executes faster than J+1 because ++ is faster than +.
2.6 Two structures cannot be compared automatically.
2.7 The code "a[i] = i++;" is valid and will execute.
2.8 Arrays automatically allocate space when declared.
2.9 sizeof(‘a’) is not 1.
2.10 Float value can be added to a pointer.