06.04.2019, 16:25
Nгo podem ser alteradas.
Exemplo:
Exemplo:
PHP Code:
#include "a_samp"
f(arr[]) {
printf("%s", arr);
}
test() {
/*
Vai exibir o warning - literal array/string passed to a non-const parameter
*/
f("abc");
/*
Nгo vai exibir o warning - literal array/string passed to a non-const parameter
*/
new
string[] = "abc";
f(string);
}
main () {
test();
}