Assume that printStars is a function that takes one argument
Assume that printStars is a function that takes one argument and returns no value. It prints a line of N stars (followed by a newline character) where N is the value of the argument received. Write a statement that invokes printStars to make a line of 35 stars.//If the function is static printstars(35);//if not object.printstars(35);//or ptr rightarrow printstars(35);
Solution
if printStars is of void type ,and takes one argument, To invoke it(Function call)
it is simply prints
printsStars(35);
ptr->printStars or obj.printStars are the functions which those are returning an array/ is in a class
If you are asking for a function call, you probably don\'t know what this is , please ignore.
so the answer is :
printStars(35);
