Consider the following C program module: void swap(float* A1, float* A2) {…
PYQ GATE 2006
Consider the following C program module:
void swap(float* A1, float* A2)
{
float temp;
if (*A1 == *A2) return;
temp = *A1;
*A1 = *A2;
*A2 = temp;
return;
}The program volume for the above module using Halstead's method is:
- A.
60
- B.
63
- C.
66
- D.
69
Attempted by 33 students.
Sign up free to check your answer
Sign up freeLoading lesson…

