I'm not very familiar with Big O notation. I'm wondering does the time complexity of the nested loop always be n^2? For example the following function, the inner loop runs 100 times per loop, does it be considered as n times as well? What's the time complexity of this function?
int abc(int x) {
for (int i=0; i<x; i++) {
for (int j=0; j<100; j++) {
push to stack;
}
}
return 0;
}