#includeusing namespace std; int main(){ char a[15] = "string of mine"; cout<<"no of characters in array a[] are :"<<strlen(a)<<endl; return 0;}It is working without including cstring
When u include , You will have to include In case you include , then no need to include
when we include #include than we don't need to include cstring this is what you want to say?????
Sorry, the comment could not be posted, as I wrote.Include iostream => no need of cstringInclude iostream.h => Must include cstring.
"Don't let anyone ever make you feel like you don't deserve what you want."
#include
ReplyDeleteusing namespace std;
int main()
{
char a[15] = "string of mine";
cout<<"no of characters in array a[] are :"<<strlen(a)<<endl;
return 0;
}
It is working without including cstring
When u include , You will have to include
DeleteIn case you include , then no need to include
when we include #include than we don't need to include cstring this is what you want to say?????
ReplyDeleteSorry, the comment could not be posted, as I wrote.
DeleteInclude iostream => no need of cstring
Include iostream.h => Must include cstring.