0 votes 0 votes https://gateoverflow.in/66063/structures-and-pointers ON COMPILING THE GIVEN PROGRAM OUTPUT IS 00(NULL) IS IT CORRECT BECZ EXPLAINATION SAYS SOMETHING ELSE AND IF TAKINH THE STRUCT INSIDE MAIN THEN NO GARBAGEVALUE IS COMING 00(NULL) IS SAME..... eyeamgj asked Oct 5, 2018 • edited Oct 6, 2018 by eyeamgj eyeamgj 332 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Shaik Masthan commented Oct 5, 2018 reply Follow Share i didn't get your question, the link which you provided, should be produce output as 1,0,2,0, irrespective of position of struct ( i mean before main, or inside the main ) 1 votes 1 votes eyeamgj commented Oct 6, 2018 reply Follow Share SORRY LINK OF WRONG QUESTIONN WAS ADDED NOW UPDATED............ 0 votes 0 votes Shaik Masthan commented Oct 6, 2018 reply Follow Share follow the answer provided by arjun sir... It is correct.. Don't consider output of online compilers, due to those are contains error recovery by default in them 1 votes 1 votes eyeamgj commented Oct 6, 2018 reply Follow Share OK THANK U SO MUCH 0 votes 0 votes Please log in or register to add a comment.