[Solved] Removing digits and all punctuation except apostrophe from a string in C
[ad_1] You are confusing strings and characters. A character literal is enclosed in ‘. A string literal is enclosed in ” and is an array of characters. e.g.: “This is a string literal” ‘c’ // this is character To test if a char is not z for instance, you write: char c = …; if … Read more