GATE | GATE IT 2006 | Question 75

filter_none

edit
close

play_arrow

link
brightness_4
code

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

chevron_right


The program effort for the above module using Halstead’s method is
(A) 315
(B) 330
(C) 393
(D) 403


Answer: (C)

Explanation: Out of syllabus

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



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.