Hello Suraj,
when Embedded Wizard Studio is generating the code, the Inline Code is placed "as it is" within the generated C code. This code fragment is typically used to place some #include statements into the generated code. Embedded Wizard Studio has no knowledge about the semantic of this code fragment, because it is a piece of C code. Therefore, you will not get any error reports within Embedded Wizard Studio, when there are errors within this code fragment. Thus, you will get errors from your C compiler (in your case MCUXpresso).
In line 3 and 4 of your Inline Code, you have placed some function calls outside of a C function, which is not possible or allowed in the C language.
If you want to make some C function calls from your GUI application, please use the native statement. For more information, please see the chapter Integrating with the device.
Best regards,
Manfred.