adplus-dvertising
frame-decoration

Question

Which is true about isalnum(c), where c is an int that can be represented as an unsigned char or EOF.isalnum(c) returns?

a.

Non-zero if isalpha(c) or isdigit(c)

b.

0 if not isalpha(c) or not isdigit(c)

c.

Both Non-zero if isalpha(c) or isdigit(c) & 0 if not isalpha(c) or not isdigit(c)

d.

None of the mentioned

Posted under C Programming

Answer: (c).Both Non-zero if isalpha(c) or isdigit(c) & 0 if not isalpha(c) or not isdigit(c)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which is true about isalnum(c), where c is an int that can be represented as an unsigned char or EOF.isalnum(c) returns?