If someone can help me I appreciate it. The following code give me an error. I could not figure it out
Thank youCode:#include <iostream>
using namespace std;
void A_print(){
cout << "A_print" << endl;
}
int B_print(int x){
int y = x/2;
return y;
}
int main(){
A_print();
cout << "2nd " << A_print() << endl; // ?? right this line if I change A_print() to B_print(6) it is ok
cout << endl;
system("pause");
return 0;
}