/ *5. BREADTH FIRST SEARCH */#include#includeint a[10][10],visited[10],n; void search_from1(int); void main() { int i,j; clrscr(); cout<<"\n Enter the number of nodes:"; cin>>n; cout<<"\n Enter the adjancency matrix:\n"; for(i=1;i<=n;i++) for(j=1;j<=n;j++) if(i!=j) { cout<<"\nEnter the value of "<cin>>a[i][j]; } cout<<"\n Nodes are visited in the order"; for(i=1;i<=n;i++) if(visited[i]==0) search_from1(i); getch(); } void search_from1(int z) { int i,j; cout<<"-->"<visited[z]=1; for(i=1;i<=n;i++)...