McqMate
| 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 | |
View all MCQs in
C LanguageNo comments yet