in Gate, they never ask, but you have to understood which of the line implies compiler dependent, segmentation fault, undefined behaviour and implementation defined !
seems you started now, practising of C, one of the best resource is GEEKSFORGEEKS, but be aware of Syllabus in Gate of C !!