Please wait...
THANKU FOR BEING A PART OF OUR JOURNEY TO BRING "REVOLUTION IN EDUCATION"
We Genuinely APPRECIATE your PATIENCE

48
M: +2.00/-0.33

Consider the following C function
(int fun (int n) {
int i, j;
for (i = 1; i < = n; i++) {
for (j = 1; j < n ; j+=i) {
printf (“%d %d, i, j ) ;
}
}
})
Time complexity of fun in terms of θ notation is

[GATE CS 2017 Set 2]
A
B
C
D