prog.cpp: In function ‘int main()’:
prog.cpp:7:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
char *name[][7]={"sachin","kapil","dravid"};
^
prog.cpp:7:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:7:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:9:18: error: ‘strlen’ was not declared in this scope
l=strlen(name[1]);
^