#include using namespace std;
void pp(int a[]) {
int leng = sizeof(a)/sizeof(int);
cout<
The sizeof(a)/sizeof(int) in main is 5 while it in pp is 2, I just don't understand the reason.
#include using namespace std;
void pp(int a[]) {
int leng = sizeof(a)/sizeof(int);
cout<
The sizeof(a)/sizeof(int) in main is 5 while it in pp is 2, I just don't understand the reason.
برچسب : نویسنده : استخدام کار backsoft بازدید : 217