大佬求教

P1141 01迷宫

Sprunki_Rabbit @ 2024-08-11 13:02:52

蒟蒻提问一下,下面这样定义是不是野指针啊qwq

char *q;
*q = 'q';
cout << q;

by fatale @ 2024-08-12 13:03:42


by Sprunki_Rabbit @ 2024-08-12 14:22:56

@fatale 懂了谢谢


|