Lazy binding through the PLT and GOT

With default lazy binding, which call to sqrt() pays the cost of symbol resolution?

main.cpp
#include <cmath>
#include <cstdio>

int main() {
    for (int i = 0; i < 2; ++i) {
        double r = sqrt(2.0); // sqrt comes from libm.so, linked dynamically
        printf("iteration %d: %f\n", i, r);
    }
    return 0;
}

26 of 53 in Operating Systems