I have added some const character in my file as under. The error i get is duplicate symbol _xyz(say). What is the problem with it and how could i get out of this.
Please, provide a meaningful description of the problem. What's "my file"? What "const character" are you taking about?
For what you provided so far I can only guess that you added the above definition of xyz
to a header file and then included it into several translation units. The result: object xyz
got defined more than once. Hence the error.