[ create a new paste ] login | about

Link: http://codepad.org/IvvD62Zl    [ raw code | output | fork ]

C, pasted on Oct 23:
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;
}


Output:
1
format is not NULL.


Create a new paste based on this one


Comments: