Please solve quickly, object-oriented programming in c++
Extracted text: Q1) Write the prototypes and the definitions of the overloaded functions Clear(string), Clear(IntArr, Length), Clear (CharArr, Length), and Clear(IntArr, Length, RsltArr). The function clears the input array or the input string, where IntArr is an integer array, and CharArr is a char array. The function convert each character to the space character and each digit of the input number to 0. Ex: string st =Clear("ABCD") st=". A[]={0,0,0,0,0}; char ch[3]={'c','b','a'}; Clear(ch,3) → ch]={' , ,). int A[]={1,2,3,4,5}; Clear(A,5) >