---
title: "看c专家的理解 "
author: "xiaobaiso"
date: "2011-12-12T11:45:13Z"
tags: []
categories: ["编程语言"]
slug: "c"
draft: false
lastmod: "2011-12-12T11:45:13Z"
id: 1306102
url: "https://xiaobaiso.iteye.com/blog/1306102"
---

#include&lt;stdio.h&gt;

 

 

struct foo{long foo;}foo;

 

 

void main()

{

char \*p="abcdefg";

char at\[]="edgjhk";

 

printf("%d\\n",sizeof foo);  //不用的写法代表不同的含义

 

 

 

printf("%c\\n",p\[1]);    //这里可以混用

printf("%c\\n",\*(at+5));//这里可以混用

 

}