Question: C++ 8. Write a definition to this function: void get_extension(const char * fileName, char * extension) this function will store the file name's extension to
8. Write a definition to this function: void get_extension(const char * fileName, char * extension) this function will store the file name's extension to parameter "extension". For example, if "fileName" is "names.txt", then .txt" should be stored in parameter "extension". Also write a call to this function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
