Q.

While swapping 2 no’ what at 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» B. Data type should be either of float and double
2.7k
0
Do you find this helpful?
19

View all MCQs in

C Language

Discussion

No comments yet