形參和實參的意義
#include <bits/stdc++.h>
using namespaces std;
int Math(int x,y),a[102];? //這里的x,y有什么意義?
{
for(x=0;x<100;x+=2)
cin>>a[102];
y=a[102];
cout<<y;
return 0;
}
#include <bits/stdc++.h>
using namespaces std;
int Math(int x,y),a[102];? //這里的x,y有什么意義?
{
for(x=0;x<100;x+=2)
cin>>a[102];
y=a[102];
cout<<y;
return 0;
}
2018-10-06
舉報
2018-10-07
自己的理解:就是類似于一個代數式吧,本身的未知數可以說是形參,只有給它個特定的值(實參)才會得出一個結果
2018-10-06
我覺得形參只是形式;而實參是行動。