Hello Preethi,
combining C and CPP files within a single application should not be a problem. We did it in the past often. The main problem raising with such combination: you can't inline native code containing C++ syntax. You need always a wrapper C function implemented within a separate C++ module serving as 'middleman' between the both worlds. This is true for the version 9.20 and below.
With the version 9.30 we add a new configuration parameter with it you can instruct the code generation to create the C files with an arbitrary file extension (e.g. *.cpp). The generated code is still C, but now the file can be compiled with C++ compiler and you can mix C and C++ code directly within a single module. Concret, you can call C++ methods from the native code. The borders between C and C++ disappear.
Does that shed some light on this topic?
Best regards
Paul Banach