C substring, Substring in C

C substring program to find the substring of a string. Any string whose length is smaller or equal to the original string is a substring. In other words, a substring is a subset of another string. For example “dog” would be “”( empty string ), “d”, “do”, “dog”, “g”, “og” ,”g”.

C substring

C substring program

OUTPUT of C substring program