makeahistory
makeahistory
全部文章
分类
c语言细节(2)
题解(1)
归档
标签
去牛客网
登录
/
注册
makeahistory的博客
全部文章
(共2篇)
段错误(segmentation fault)
https://blog.csdn.net/jianchenglee/article/details/9985769引起段错误的原因有以下几类:1)存取空指针2)试图访问进程没有权限访问的内存(如在进程空间中访问内核结构)3)试图访问一个不存在的内存地址(在进程内存空间之外)4)试图写入只读内存(如...
C
2021-09-19
0
948
题解 | #反转字符串#
/** * 反转字符串 * @param str string字符串 * @return string字符串 */ char* solve(char* str ) { // write code here char *p1=str; char *p2=str; int te...
C
2021-09-19
5
898