Question: Given the following C++ source code: #include using namespace std; int main() { } string *str; str =new string [5]; str[0]=orchird; str[1]=Chrysanthemum; str[2] Lavender;

Given the following C++ source code: #include using namespace std; int main() { } string *str; str =new string [5]; str[0]="orchird"; str[1]="Chrysanthemum"; str[2] "Lavender"; str[3] "Jasmine"; str[4] "Rose"; for (int i=0;i
Step by Step Solution
3.41 Rating (164 Votes )
There are 3 Steps involved in it
When the program terminates it will have reached the end of the main function At this point the prog... View full answer
Get step-by-step solutions from verified subject matter experts
