If the function declaration is void fun (char * a, int n, int & m); Which of the following statements is true ?
选项:
A:char str[10];int *p, m;fun( str, m, p ); ;
B:char *p = new char[10];int n, m;fun( p, m, &n ); ;
C:char *p = new char[10];int n, m;fun( p, m, n ); ;
D:char *p = new char[10];int n;fun( p, &n, 6 );
发布时间:2024-06-08 22:53:53