Tag

#c string programs

18 posts

index.ts
</>

C String – strchr() function

strchr() function in C is used to search the stated character in a string. It searches the string for the character and stops when the first time the character is found. And if the string needs to be printed, only the character starting from the searched character to the end is printed. The strchr()

April 8, 2021Read more →