Question: Q1A) What will be printed after running this program? void NumRef(double & P1, int & P2) { string str =>>; P1++; cout P1 str P2

Q1A) What will be printed after running this program? void NumRef(double \& P1, int \& P2) \{ string str =">>"; P1++; cout P1 str P2 "end"; P1++; P2=P2%5+1; \} int main() \{ double C=2.1; int D=7; NumRef(C, D ); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
