#include <iostream> using namespace std; void Foo ( char str[100]); int main() { char a[100]="dfkdshkfihjf"; Foo(a); return 0; } void Foo ( char str[100]) { cout<<sizeof(str)<<endl; }