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

MM32f103 led blink program

To work on mind motion MM32 microcontroller we need to install the keil uvision 5 version then install the mm32-link programmer go to li...