druboi When two triangles/primitives of a mesh overlap are the overlapping pixels processed twice ?
If GPU depth test is not enabled (typically for 2D) then yes, the overlapping pixels will be processed twice. With depth test enabled, it will also happen twice in most cases, although in some cases it won't, depending on the hardware and shader code. Look up "early depth test" for more info on this.
druboi If so can I know in the fragment shader when a pixel is processed twice , say to give the overlapping region a different colour in a single pass ?
Fragment shader cannot know how many times a pixel was processed, however the shader can read what's currently in the framebuffer and use this for further processing or to make conclusions about what has been previously drawn.