Q1) Write the prototypes and the definitions of the overloaded functions FillA(string, fchar), FillA(IntArr, Length, fnum), and FillA(CharArr, Length, Fchar). The function fills the input array or the...

Please solve quickly object-oriented programming in c++Q1) Write the prototypes and the definitions of the overloaded functions FillA(string, fchar),<br>FillA(IntArr, Length, fnum), and FillA(CharArr, Length, Fchar). The function fills the input array<br>or the input string with the input number or character, where IntArr is an integer array, and CharArr<br>is a character array. The function replace each character with the parameter character and each<br>number of the input array with the parameter number.<br>Ex: string st =FillA(“ABCD
ch]={**', *,**}. int A[]={1,2,3,4}; FillA(A,4,8) > "/>
Extracted text: Q1) Write the prototypes and the definitions of the overloaded functions FillA(string, fchar), FillA(IntArr, Length, fnum), and FillA(CharArr, Length, Fchar). The function fills the input array or the input string with the input number or character, where IntArr is an integer array, and CharArr is a character array. The function replace each character with the parameter character and each number of the input array with the parameter number. Ex: string st =FillA(“ABCD", E) st="EEEE"; A[]={8,8,8,8}; char ch[3]={°c','p','p'}; FillA(ch,3,**) > ch]={**', *,**}. int A[]={1,2,3,4}; FillA(A,4,8) >

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here