0 votes 0 votes Programming in C programming-in-c output + – amitqy asked Nov 23, 2018 amitqy 396 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Shaik Masthan commented Nov 23, 2018 reply Follow Share this may help you https://gateoverflow.in/257239/c-programming-quiz 1 votes 1 votes OneZero commented Nov 29, 2018 reply Follow Share Its a dangling pointer. Should give you an error. 0 votes 0 votes Gokulnath commented Jan 5, 2019 reply Follow Share It's returning pointer to a location which doesn't exist anymore - a was a local variable which died after the function terminated. 0 votes 0 votes Please log in or register to add a comment.