摘要:
宽字符: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<string.h> #include<locale.h> int main() { char str[10]="轩辕"; printf("%d,%d\n",sizeof(s 阅读全文
摘要:
指针内存面试题: 对整个数组取地址+1前进了整个数组。再强转成double* 根据double*步长再减去1#include <stdio.h>int main(){ double db[5] = {1.0,2.0,3.0,4.0,5.0}; printf("%f\n", *((double *)( 阅读全文