Difference between revisions of "Array c"

From Teknologisk videncenter
Jump to: navigation, search
(Created page with " =Macroes= #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) Category:C programming")
 
m
 
Line 2: Line 2:
 
=Macroes=
 
=Macroes=
 
   #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
 
   #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
[[Category:C programming]]
+
[[Category:C]]

Latest revision as of 05:25, 3 May 2024

Macroes

 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))