棧破壞實例

#include <stdio.h>int main(){char name[8];printf("Please type your name: ");   //輸入大於8個字符。    gets_s(name);int a = 4;printf("Hello, %s!", name);//scanf("%s", name);return 0;}
相關文章
相關標籤/搜索