Answer:
#include <iostream>
#include<string.h>
using namespace std;
void printCharacter(string name){
for(int i=0;name[i]!='\0';i++){
cout<<name[i]<<endl;
}
}
int main()
{
string name;
cout<<"enter the name: ";
cin>>name;
printCharacter(name);
}
Explanation:
first include the two libraries iostream for input/output and string library for using the string.
then, create the main function and declare the variable type string.
cout instruction is used o display the message on the screen.
cin is used to store the value in the name variable.
after that, call the function. The program control move to the the function. In the function for loop is used to print the character one by one until end of the name.
A macro is that pseudo-program that performs a list of actions based on a set of instructions.
<h3>What is macro?</h3>
A macro can be said to be a number of commands that help you to get complex things done via automating simple and via repetitive tasks.
A macro is that pseudo-program that performs a list of actions based on a set of instructions.
Therefore, option A is correct as the macros does a whole lot of work.
Learn more about macro from
brainly.com/question/20050035
#SPJ1
Answer:
information?
Explanation:
picture are there to give a visual or make the document more appealing. if your wording and information isnt up to date or reasonable people wont lean to what you are saying as much.