Skip to content

BLOG.JUNGWON.KIM

Menu

How to cast simple pointer to a multidimensional-array of fixed size?

https://stackoverflow.com/questions/11869056/how-to-cast-simple-pointer-to-a-multidimensional-array-of-fixed-size

int a[2][3];
int (*A)[3] = (int (*)[3]) a;
How to cast simple pointer to a multidimensional-array of fixed size?
Jungwon July 9, 2019July 9, 2019 CS
  • ← memcpy vs memmove
  • Gloo →
Copyright © 2026 BLOG.JUNGWON.KIM. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.