Add more example in C11 for showing more possibility

This commit is contained in:
Patrick Pelissier committed 2022-03-17 19:37:12 +01:00
1 parent 093b7dc1e8
commit fe2b816447
1 file changed
+4
+4
View File
@@ -68,6 +68,10 @@ int main(void)
}
}
}
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
// Print all the array in one step. Need to be done in C11 only
M_PRINT("The array is equal to ", (array, my_array_t), "\n");
#endif
} /* All variables are automatically cleared beyond this point */
}