I am writing a program that among other things prints out an array of characters. In order for it to work, I need to print a new line to the console. Without this, it freezes. Can anyone suggest why this is happening?
If I comment out the "printf("\n");" statement, it freezes before it gets to this part of the code. My program also makes use of threads. Any help would be much appreciated.Code:for(i = 5; i >= 0; i--){ printf("%c", test[i]); } printf("\n");