Convert LongWord.java to the equivalent C program namedlongword.c. While you are converting it into C, make followingchanges:
file read and write: read lines from standard input and printthe results to standard output
string return in getLongestWord: take a pointer to apre-allocated buffer and save the longest word in it. Hint: yourfunction will look like void getLongestWord( const char line[],char word[])
That is, your converted C program should continuously read linesfrom standard input, find the longest word using the functiongetLongestWord, and print the results to standard output. Theprogram ends when it hits EOF. Make sure that your converted Cprogram generates the same
PayPal Gateway not configured
PayPal Gateway not configured