当前位置:网站首页>8.8.1-PointersOnC-20220214
8.8.1-PointersOnC-20220214
2022-07-04 11:23:00 【fleet1126】
#include<stdio.h>
unsigned char char_value[3][6][4][5]={
{},
{
{},
{
{},
{0,' '}
},
{
{},
{},
{0,0,0,'A'},
{0,0,0,0,'x'}
},
{
{},
{},
{0,0,0xf3}
},
{
{},{},
{0,0,0,'\n'}
}
},
{
{},
{
{},
{0,0,0320}
},
{
{},
{0,'0'},
{0,0,'\''},
{0,'\121'}
},
{},
{
{},{},{},
{0,0,'3',3}
},
{
{},{},{},
{0,0,0,0,125}
}
}
};
int main(){
printf("char_value[1][2][2][3]->%c\n",char_value[1][2][2][3]);
printf("char_value[1][1][1][1]->\'%c\'\n",char_value[1][1][1][1]);
printf("char_value[1][3][2][2]->0x%x\n",char_value[1][3][2][2]);
printf("char_value[2][4][3][2]->\'%c\'\n",char_value[2][4][3][2]);
printf("char_value[1][4][2][3]->%c\n",char_value[1][4][2][3]);
printf("char_value[2][2][3][1]->\\%o\n",char_value[2][2][3][1]);
printf("char_value[2][4][3][3]->%d\n",char_value[2][4][3][3]);
printf("char_value[2][5][3][4]->%d\n",char_value[2][5][3][4]);
printf("char_value[1][2][3][4]->\'%c\'\n",char_value[1][2][3][4]);
printf("char_value[2][1][1][2]->0%o\n",char_value[2][1][1][2]);
printf("char_value[2][2][2][2]->%c\n",char_value[2][2][2][2]);
printf("char_value[2][2][1][1]->\'%c\'\n",char_value[2][2][1][1]);
return 0;}
边栏推荐
- 2018 meisai modeling summary +latex standard meisai template sharing
- 2021-08-09
- Sys module
- Exceptions and exception handling
- Installation of ES plug-in in Google browser
- Automatic translation between Chinese and English
- Notes on writing test points in mind mapping
- Take advantage of the world's sleeping gap to improve and surpass yourself -- get up early
- Analysis function in SQL
- Attributes and methods in math library
猜你喜欢
Canoe - the third simulation project - bus simulation - 3-1 project implementation
Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution
SQL greatest() function instance detailed example
Detailed array expansion analysis --- take you step by step analysis
Elevator dispatching (pairing project) ④
Appscan installation steps
QQ group collection
Fundamentals of software testing
Elevator dispatching (pairing project) ③
Canoe: what is vtsystem
随机推荐
2018 meisai modeling summary +latex standard meisai template sharing
QQ group collection
Common tips
Alibaba cloud server connection intranet operation
Heartbeat error attempted replay attack
Configure SSH certificate login
Canoe - the third simulation project - bus simulation - 2 function introduction, network topology
Four sorts: bubble, select, insert, count
Local MySQL forgot the password modification method (Windows)
Reptile learning 3 (winter vacation learning)
How do std:: function and function pointer assign values to each other
2021-08-09
regular expression
array_ The contains() function uses
Canoe - the second simulation project -xvihicle1 bus database design (operation)
Performance test process
Foreach (system.out:: println) usage
Function parameters (positional parameters, default value parameters, variable parameters, named keyword parameters, keyword parameters)
Exceptions and exception handling
Elevator dispatching (pairing project) ②