#include <stdio.h>
#include <string.h>
void outraFuncao(char *temp) {
printf("tempTest = %s\n", temp
); }
int main() {
char tempA[100] = "1111";
outraFuncao(tempA);
printf("tempTest = %s\n", tempA
); printf("tempTest = %s\n", tempA
); }
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCnZvaWQgb3V0cmFGdW5jYW8oY2hhciAqdGVtcCkgewogICAgc3RyY3B5KHRlbXAsICIxMSIpOwogICAgcHJpbnRmKCJ0ZW1wVGVzdCA9ICVzXG4iLCB0ZW1wKTsKfQoKaW50IG1haW4oKSB7CgljaGFyIHRlbXBBWzEwMF0gPSAiMTExMSI7CiAgICBvdXRyYUZ1bmNhbyh0ZW1wQSk7CiAgICBwcmludGYoInRlbXBUZXN0ID0gJXNcbiIsIHRlbXBBKTsKICAgIHN0cmNweSh0ZW1wQSwgIjIyIik7CiAgICBwcmludGYoInRlbXBUZXN0ID0gJXNcbiIsIHRlbXBBKTsKfQ==