53.
What will be the output of the following code in C++?
#include <stdio.h> 
int ETF(int n) 
{ 
    int a, result = n; 
    for (a = 2; a * a <= n; ++a)
    { 
        if (n % a == 0)
	{ 
	    while (n % a == 0) 
                n = n / a; 
	    result = result - result / a; 
	} 
    } 
    if (n > 1) 
        result = result - result / n; 
    return result; 
} 
int main() 
{ 
    int n; 
    for (n = 1; n <= 4; n++) 
        printf("%d\n", ETF(n)); 
    return 0; 
}

55.
With reference to the given Venn diagram, what is the formula for computing |AUBUC| (where |x, y| represents intersection of sets x and y)?
Miscellaneous on Data Structures mcq question image