Examveda

While swapping 2 numbers what precautions to be taken care?
b = (b / a);
a = a * b;
b = a / b;

A. Data type should be either of short, int and long

B. Data type should be either of float and double

C. All data types are accepted except for (char *)

D. This code doesn't swap 2 numbers

Answer: Option B


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals