Add more example in C11 for showing more possibility
This commit is contained in:
1 parent
093b7dc1e8
commit
fe2b816447
1 file changed
+4
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user