Question: c language Photo Q QUESTION 2 Write a function detectdouble() that returns 1 if it detects the presence an identical successive letters in an array
Photo Q QUESTION 2 Write a function detectdouble() that returns 1 if it detects the presence an identical successive letters in an array of characters STR and returns 0 otherwise. Note that each array of character ends with the dummy character '\0'. For example detectdouble applied to the words better and 'Hello' returns 1 and applied to the string "How are you? returns 0. detectdouble (char *STR) int For the toolbar, press ALT+F10 (PC) or ALTOFN+F10 (Mac). TTT Arial 3 (12) T. 15 include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
