Cyient Interview Question

What is inline function, how to avoid the error,why this error will occur