i ve created two dimensional array inside a function, i want to return that array, and pass it somewhere to other function..
char *createBoard( ){ char
The simple answer to your question is char**.
Having said that, DON'T DO IT ! Your "board" variable won't last outside createBoard().
Use boost::multi_array and pass it as a reference to createBoard() or return it directly (but if you do that, it will be copied).