#include <iostream> #include <string.h> #include <stack> using namespace std; char * revStrExcludeSub (char * src, char * sub) { if ((src==NULL) || (sub==NULL)) return NULL; char * head=src, * tail=src, * pSub=sub; stack<char> st; while (*head != '