Hi i have the code below but i need to be able to write more code so it can recognise the longest name and print it can any one help please
This is what i have
Code:#include <stdio.h> #include <string.h> #define size 10 main() { char name [10][25]; int i; for (i=0;i<10;i=i+1) { printf("\nPlease enter name %d :",(i+1)); gets(name[i]); } printf("%d",strlen(name[0])); }