我本仁慈,奈何苍天不许
发布时间:2014-01-15 20:27:40
#include <stdio.h>#include <strings.h>typedef struct aaa{int a;char b[3];short c;}AAA;int main(){int a[] = {1,2,3,4,5,6,7};AAA p;p = *( (AAA*)a &n.........【阅读全文】
发布时间:2014-01-15 19:30:52
#include typedef char * pstr;int main (int argc, char *argv[]){char a[] = "hello";const char *p1 = a;const pstr p2 = a;p1++;p2++;printf("%s\n",p1.........【阅读全文】
发布时间:2014-01-15 13:17:49
#include <stdio.h>typedef char ARR[5];int main(){char a[] = {1,2,3,4,5,6,7,8,9};char *p = a;printf ("%#x\n", *((int *)(p+3)) ); printf ("%#x\n", *((int *)p + 3).........【阅读全文】