Answers for "c check if character is a punctuation"

C
0

c check if character is a punctuation

char ch = '!';
 if(ispunct(ch))
   printf("punctuation");     
 else
     printf("other symbol" );
// output: punctuation
CCopy
Posted by: Guest on April-06-2022

Code answers related to "c check if character is a punctuation"

Code answers related to "C"

Browse Popular Code Answers by Language