how can HINDI be possibly used as an input to an ARRAY in dev c++ with the help of UNICODES?
i tried to give input to the array with the help of a file but it only returned garbage values.
A problem occurs when you try to use the console for in/outputing hindi because the console under windows uses it's own code page. theoretically it should be possible to switch to UTF-8, but practically i don't think it works.
your problem consists of two parts: character set and font.
simple programs like notepad just guess what character set is to be used. it might very well guess wrong. And there must be the right font (which constains the graphical representation of the symbols). You must ensure that both are correct.
does code::blocks shows the characters correctly? if so open you output file with code blocks. Or use firefox and set it to the right character set. Notepad++ might also be an option.
In any case you need to make sure that the characters can be shown (i.e. the correct font is installed).