Hi sangin,
First, be sure that your function is meant to change those values. Thus, if you have the prototype from DLL source code, parameters' values are not returned (in order to return them, you need ... plus(int* a, int* b). If the prototype is the one you configure when calling the DLL, select "Pointer to value" for PASS option (for a and b).
Second, pay attention to INT because is platform dependent (you can find details in [http://zone.ni.com/devzone/devzoneweb.nsf/Opendoc?openagent&98DA94DCEACECF3F862567CA0055DB5F] ).
Let me know if you need more help ...
... and Happy Holidays!