#include<stdio.h>
#include<stdlib.h>
#define INF 99999
int main()
{
int no,i,j=0,num=0;
int adj[102][102]={INF};
char neighbours[103],c;
scanf("%d",&no);
for(i=1;i<=no;i++)
{
j=0;
gets(neighbours);
puts(neighbours);
}
system("PAUSE");
}
Can you please tell me why the following code is taking only (no-1)
strings as input?
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.