Would you let me know how to use the DPI and DPI-C?
The difference has to do with which version of the standard your C code is based on: "DPI" is from the older Accellera standard, and "DPI-C" is the current IEEE standard. 

Then key difference between two versions is how packed arrays of bit or logic are represented when they are passed through as arguments. The older "DPI" version did not standardize the representation of packed arrays - you had to know your tool's specific representation, or use macros provided by the tool vendor to access individual bits.
The current version standardizes the way you access bits of packed array, and that makes your C code binary compatible with any tool, meaning you don't have to recompile your DPI code for each tool vendor you work with. Annex H.13 of the IEEE 1800-2012 SystemVerilog LRM has more info on the differences.

My recommendation for "DPI-C" users is that unless you need access to 4-state values, keep your arguments C-compatible. That means using only ints, bytes(char) or unpacked array/structs of ints/bytes across the language boundary.