The pointer problem in C language, does anyone know why the output of this code is different?

前端 未结 0 1389
心在旅途
心在旅途 2020-12-14 18:07

The first code:

#include 
int *func() {
    int n = 100;
    return &n;
}
int main() {
    int *p = f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题