Update doc for #44
Add multi-lined function definitions for C and Java
Add doc for #46 and #47