Question: Using C language Write the function void longestSubstring (char *in, char **out); which receives the string in and it returns the longest sub-string within in

Using C language

Write the function

void longestSubstring (char *in, char **out);

which receives the string in and it returns the longest sub-string within in formed only by uppercase letters. The string out must be allocated by the function with the minimum correct length. For example if in = "The longest ENGlISH word is: PSEUDOpseudohypoparaTHYROIDISM" the function has to create and return out = "THYROIDISM".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!