To yank from current cursor up to first occurrence of string str in reverse direction, we can use:
(a) y?str
(b) y!str
(c) yy str
(d) yy ! str
The question was posed to me in an online interview.
My doubt is from Operator-Command Combinations topic in section Advanced Vi of Unix