the-c-programming-language-chapter-4

Table of Contents

C Programming Language Chapter 4

Chapter 4

Exercise 4-1

Write the function strrindex(s,t) , which returns the position of the rightmost occurrence of t in s, or -1 if there is none.

{{# include _include/code/programming-languages/c/the-c-programming-language/chapter-4/4-1/main.c }}