Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | GATE IT 2006 | Question 75

  • Last Updated : 28 Jun, 2021

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

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

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

Start Your Coding Journey Now!