#include <stdio.h>
#include <string.h>
int main()
{
char input[] = "home/user/hello.c";
char* output
= strrchr(input
, '/'); if(output)
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCmludCBtYWluKCkKewogICAgY2hhciBpbnB1dFtdID0gImhvbWUvdXNlci9oZWxsby5jIjsKICAgIGNoYXIqIG91dHB1dCA9IHN0cnJjaHIoaW5wdXQsICcvJyk7CiAgICBpZihvdXRwdXQpCiAgICAgICAgcHV0cyhvdXRwdXQrMSk7Cn0K