data structures using printf("\ enter the number of nodes in the graph ")scanf("% "& )printf("\ enter the adjacency matrix ")read(adjn)clrscr()printf("\ the adjacency matrix is ")display(adjn)for( = ; < ; ++for( = ; < ; ++if(adj[ ][ = [ ][ else [ ][ for( = < ; ++for( = ; < ; ++for( = ; < ; ++ [ ][jp[ ][jp[ ][kp[ ][ ])printf("\ the path matrix is :")display (pn)getch()return void read(int mat[ ][ ]int nint ijfor( = ; < ; ++for( = ; < ; ++printf("\ mat[% ][% "ij)scanf("% "&mat[ ][ ])void display(int mat[ ][ ]int nint ijfor( = ; < ; ++printf("\ ")for( = ; < ; ++printf("% \ "mat[ ][ ])output the adjacency matrix is