Quiz on string operations, character and error handling. Some string operations in C programming are: strlen(): Returns the length of a string. strcpy(): Copies the contents of one string to another. strcat(): Appends the contents of one string to the end of another. strcmp(): Compares two strings. strchr(): Returns a pointer to the first occurrence of a character in a string. strrchr(): Returns a pointer to the last occurrence of a character in a string. strstr(): Returns a pointer to the first occurrence of one string in another. strtok(): Breaks a string into tokens. strlwr():... Show more Quiz on string operations, character and error handling. Some string operations in C programming are: strlen(): Returns the length of a string. strcpy(): Copies the contents of one string to another. strcat(): Appends the contents of one string to the end of another. strcmp(): Compares two strings. strchr(): Returns a pointer to the first occurrence of a character in a string. strrchr(): Returns a pointer to the last occurrence of a character in a string. strstr(): Returns a pointer to the first occurrence of one string in another. strtok(): Breaks a string into tokens. strlwr(): Converts a string to lowercase. strupr(): Converts a string to uppercase. Show less
Quiz on string operations, character and error handling.
Some string operations in C programming are: strlen(): Returns the length of a string. strcpy(): Copies the contents of one string to another. strcat(): Appends the contents of one string to the end of another. strcmp(): Compares two strings. strchr(): Returns a pointer to the first occurrence of a character in a string. strrchr(): Returns a pointer to the last occurrence of a character in a string. strstr(): Returns a pointer to the first occurrence of one string in another. strtok(): Breaks a string into tokens. strlwr(): Converts a string to lowercase. strupr(): Converts a string to uppercase.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.