Hello everyone,,
is this code cross-platform??
Code:#include <stdio.h> void *value(char c){ if( c=='s') return "String"; else if(c=='n') return (int *)45; else if(c=='c') return (char *)'f'; return NULL; } int main(void){ printf("%d\n",value('n')); return 0; }