1 2 3 4 5 6 7 8 9 10 11 12 13 14
int lcdPrintf( char * format, ... ) { if ( *format ) { printf("format is not NULL.\r\n"); } else { printf("format is NULL.\r\n"); } } int main() { lcdPrintf("Change"); return 0; }
1
format is not NULL.