摘要:
No.1#include "stdlib.h"#include "stdio.h"typedef struct{ int a; double b; char c;}abc;int main(){ abc *v; v = (abc *)malloc(sizeof(abc)*5); v[0].a = 1; (*(v+2)).b = 2.0; (v+3)->c = 'c'; printf("%d,%lf,%c",v[0].a, (*(v+2)).b, (v+3)->c); return 0;}No.2#inclu 阅读全文