Labels

Thursday, 2 July 2015

small quiz..give ur answer in comment.

#define S1 puts(s1)
#define S2 puts(s2)
#define size(x) strlen(x)
main() 
char s1[10],s2[10]; 
strcpy(s1,"batman"); 
strcpy(s2,"superman"); 
if(size(s1)-size(s2)>=0) 
S1; else S2; 
}

  1. superman
  2. linking error
  3. batman

No comments:

Post a Comment