C program void swap(float* A1, float* A2) { float temp; if (*A1 == *A2)…

PYQ GATE 2006

C program

void swap(float* A1, float* A2)
{
    float temp;
    if (*A1 == *A2) return;
    temp = *A1;
    *A1 = *A2;
    *A2 = temp;
    return;
}

The program effort for the above module using Halstead's method is

  1. A.

    315

  2. B.

    330

  3. C.

    393

  4. D.

    403

Attempted by 72 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…