当前位置:网站首页>/*The rewriter outputs the contents of the IA array. It is required that the type defined by typedef cannot be used in the outer loop*/
/*The rewriter outputs the contents of the IA array. It is required that the type defined by typedef cannot be used in the outer loop*/
2022-07-04 10:26:00 【qq_ fifty-eight million seven hundred and thirty-six thousand t】
#include<iostream>
using std::cout
int main(void)
{
int ia[3][4] = { /* 3 elements, each element is an array of size*/
{0, 1, 2, 3} , /* initializers for row indexed by 0 */
{4, 5, 6, 7} , /* initializers for row indexed by 1 */
{8, 9, 10, 11}/* initializers for row indexed by 2 */
};
for (int(*p)[4] = ia; p != ia + 3; ++p)
for (int* p1 = *p; p1 != *p + 4; ++p1)
cout << *p1 << endl;
return 0;
}
边栏推荐
- Press the button wizard to learn how to fight monsters - identify the map, run the map, enter the gang and identify NPC
- Evolution from monomer architecture to microservice architecture
- Occasional pit compiled by idea
- 基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
- Exercise 7-2 finding the maximum value and its subscript (20 points)
- The most detailed teaching -- realize win10 multi-user remote login to intranet machine at the same time -- win10+frp+rdpwrap+ Alibaba cloud server
- Does any teacher know how to inherit richsourcefunction custom reading Mysql to do increment?
- OSPF comprehensive experiment
- 用数据告诉你高考最难的省份是哪里!
- C language - stack
猜你喜欢
C language structure to realize simple address book
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 2
If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
When I forget how to write SQL, I
How can Huawei online match improve the success rate of player matching
Today's sleep quality record 78 points
Hands on deep learning (45) -- bundle search
入职中国平安三周年的一些总结
Application of safety monitoring in zhizhilu Denggan reservoir area
Basic principle of servlet and application of common API methods
随机推荐
什么是 DevSecOps?2022 年的定义、流程、框架和最佳实践
Some summaries of the third anniversary of joining Ping An in China
今日睡眠质量记录78分
入职中国平安三周年的一些总结
Hands on deep learning (44) -- seq2seq principle and Implementation
Hands on deep learning (46) -- attention mechanism
Latex insert picture, insert formula
Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
Ruby时间格式转换strftime毫秒匹配格式
Development guidance document of CMDB
Hlk-w801wifi connection
Advanced technology management - how to design and follow up the performance of students at different levels
Work order management system OTRs
Lavel document reading notes -how to use @auth and @guest directives in lavel
Use C to extract all text in PDF files (support.Net core)
Rhcsa learning practice
Exercise 9-1 time conversion (15 points)
Latex arranges single column table pictures in double column format articles
【Day1】 deep-learning-basics
Legion is a network penetration tool