I drew a simple function, intended to print out a single line (with several carriage-returns). But for some reason it doesn't.
First the main program should print out a carriage return followed by 'Hello, world! Value =' followed by an integer value, then a couple carriage returns. Then it should print 'Function writstat has been entered' with a couple more carriage returns, and then a single integer value.
I expected to get a garbage value (actually a pointer value) back, and I did. No surprise there.
But why it doesn't print out 'Function writstat has been entered' with the carriage-returns?
#include 'stdio.h'
int writstat() { int i; i=13; printf('\nFunction writstat has been entered.\n\n'); return(i); }
main()
{
printf('Hello, world! Value = %d\n\n',writstat);
}