body
{
font-family: 微软雅黑,"Microsoft YaHei", Georgia,Helvetica,Arial,sans-serif,宋体, PMingLiU,serif;
font-size: 10.5pt;
line-height: 1.5;
}
html, body
{
}
h1 {
font-size:1.5em;
font-weight:bold;
}
h2 {
font-size:1.4em;
font-weight:bold;
}
h3 {
font-size:1.3em;
font-weight:bold;
}
h4 {
font-size:1.2em;
font-weight:bold;
}
h5 {
font-size:1.1em;
font-weight:bold;
}
h6 {
font-size:1.0em;
font-weight:bold;
}
img {
border:0;
max-width: 100%;
height: auto !important;
}
blockquote {
margin-top:0px;
margin-bottom:0px;
}
table {
border-collapse:collapse;
border:1px solid #bbbbbb;
}
td {
border-collapse:collapse;
border:1px solid #bbbbbb;
}
n维指针用于控制权限,维数越高权限越高
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
/*
//修改变量用一级指针
//修改一级指针用二级指针
//修改二级指针用三级指针
//修改n级指针用n+1级指针
c程序分配给全局变量内存后才启动main函数
*/
int a = 1;
int* p = &a;
int b = 2;
int* p2 = &b;
void change(int *** p ){
printf( "change:%x\n", p );
* p = &p2;
}
int main(){
int** pp = &p;
printf( "main:%x\n", &pp);
printf( "%d\n", **pp);
change(&pp);
printf( "%d\n",**pp);
system( "pause");
return 0;
}