Friday, February 27, 2015

C language interview question



1.   Write a program to accept two number from user and
a.   Find its sum.
b.   Find its Difference.
c.   Find its product.
d.   Find its average.
Note:
                                         i.    Solve above problem without using any function method
                   ii.    Test the program using different Integral data type signed/unsigned, long, float, char etc.
                                       iii.    First test the result using small values, and then test the result using large value.
                                      iv.    Repeat the above all same process using function method.

No comments:

Post a Comment

python class topic video