startup电面问题

电面一个startup小公司,碰到这题: Write a function that prints out one character at a time without looping constructs or using local vars. You are not allowed to use the size or length for string length.
有大佬指教怎么写吗?感谢!

这是啥语言写?用指针吧,感觉是C

没用过c诶,我前两道题都写的java,第三道出了这个…x老师知道java可以写吗?

题目不是很清楚啥意思