If I write some thing like this
for(int i = 0 ; i < strlen(s) ; i++)

will it be O(n^2) ?

Also please tell me where can I see codes of standard library of C (GCC) in Ubuntu.