The language is c++.
using the C functions:
strlen, strcpy,strncpy, strchr, strrchr, strstr, strcmp andstrcat.
You need to take an input from the user and print the firstthree words of the string on separate lines.
E.g. the inputmight be: Remember you are unique, just like everyone else
and the output would be:
Remember
you
are
———————————————————
starting the code below
#include <iostream>
using namespace std;
int main()
{
char theString[ 81 ];
cout<< “Welcome to Custom C stringFunctions.”<<endl;
cout<<“Enter a string of three or more words:”;
return 0;
}
Expert Answer
An answer will be
PayPal Gateway not configured
PayPal Gateway not configured