C++ Program to Compare Paths of Two Files
As we are given two paths of two files, we have to compare these two paths and check whether they are equal or greater or smaller using a C++ program. Input: path1 = "/a/b/c" , path2 = "/a/b/" Output: path1 is greater than path2Approaches:Using built-in compare function :To store paths use string as