Problem in printing adjecency list

prob-trying to print edge and vertices

giving error

code-https://ide.codingblocks.com/s/248033

please help with this