I wrote a code to find distance between two points in cartesian plane in c language which included math.h header. But it gave WA for all my submissions when I chose GNU C11 as language but it gave me AC with GNU G++17 7.3.0. Can someone pls tell me which one should I choose for C language code.