Type Modifier Const Misused Function Countspaces Keeping Mind Const Rules Pointers Int Con Q37110646

** CODE WRITTEN IN C**

The type modifier const has been misused in the function count_spaces. Keeping in mind the const rules on pointers (int * con

The type modifier const has been misused in the function count_spaces. Keeping in mind the const rules on pointers (int * const vs. int const add and/or remove const specifiers so that this code compiles without any errors or warnings. Note that you may not make any changes other than adding or removing const, and you may not make any changes at all to main. unsigned int count_spaces (char * const

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.