As the title of the topic is not so clear, now here i can clear my problem... I have a program source code, main.c . In which i m intending to do following thing with out changing the source code... ---------------------------------------------------------------------------------------------------- #include int main(int argc,char **argv) { char* backup; char* arg = argv && argc > 0 ? argv[1] : ...
Here is a simple code to convert an int to char. And my problem is that the int 2 won't display properly in printf. As in it outputs some special character like an outline of a box. I'm using Fedora Core 3 compiling using GCC. #include #include int main() { char *dest, *temp; int i = 2; dest = ...