Open In App

GATE | GATE IT 2006 | Question 74

Like Article
Like
Save
Share
Report




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


Answer: (B)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads