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
While swapping 2 numbers what precautions to be taken care?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
While swapping 2 numbers what precautions to be taken care?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!