Let us suppose the following piece of code:
#include <stdio.h>
#include <math.h>
int abs(int x){
return x*2;
}
int main(){
printf("%d\n",abs(-2));
return 0;
}
When I compile and execute it, I noticed that the abs function of math.h is being used. Actually, this happens even if I remove the #include <math.h>. But I don't understand what is happening here.