without including #include<ctype.h>

Posted by venkat on Stack Overflow See other posts from Stack Overflow or by venkat
Published on 2011-01-10T10:50:13Z Indexed on 2011/01/10 10:54 UTC
Read the original article Hit count: 166

Filed under:

Hi,i am written below program .... without including #include also i am able to execute the program.... where these prototype are declare? 1)

include

int main() { if(isalnum(';')) printf("character ; is not alphanumeric"); if(isalnum('A')) printf("character A is alphanumeric "); return 0; }

2)

include

int main() { printf("Lower case of A is %c \n", tolower('A')); printf("Lower case of 9 is %c \n", tolower('9')); printf("Lower case of g is %c \n", tolower('g')); printf("ASCII value of B is %d \n", toascii('B')); printf("Upper case of g is %c \n", toupper('g')); return 0; }

© Stack Overflow or respective owner

Related posts about c