ROUTING PROTOCOLS

Page 1 2 3 4 5 6 7 8 9
ROUTING PROTOCOLS-DVR ROUTING ALGORITHM


#include” stdio.h”
#include “ ctype.h “
int graph[12][12];
int e[12][12];
int ad[12];
int no,id,adc,small,chosen;
char nodes[12]={"abcdefghijkl"};
int main()
{
int i,j,k,ch1,ch2=0;
adc=0;
printf("Enter no of nodes:");
scanf("%d",&no);
printf("\n Enter the values for adjacency matrix:");
for(i=0;i < j="0;j" i="0;i" j="0;j" adc="0;" i="0;i" i="0;i" small="100;" chosen="1;" j="0;j" total="e[ad[j]][i]+e[id][ad[j]];" small="total;" chosen="j;" i="0;i" j="0;j" ch2="="1);">