I'm a newbie in data structures, this question appeared in a model question paper.
Calculate the frequency count of the statement x = x+1; in the following code segment
for (i = 0; i< n; i++)
for (j = 0; j< n; j*=2)
x = x + 1;
My question is would (*) affect the frequency count? There are no brackets.