How to Get File Extension?
Answer Posted / Prashant Kumar Sinha
To get the file extension from a path in Win32API code, you can use the PathFindExtension function. Here's an example:n`nchar *extension = PathFindExtension(path);nif (*extension == '