>I too, would like to at least know if B C is "int bit" or something, but that was not given =(.
What is this, an algebra problem? "Fill in the blanks" with C code? Clearly the function should be rewritten like this if your teacher really didn't elaborate at all on what needs to be done:
Code:
#include <stdio.h>
int mystery1 ( int *n, const char *msg )
{
if ( msg != NULL )
puts ( msg );
return *n;
}
int main ( void )
{
int x = 12345;
printf ( "%d\n", mystery1 ( &x, "Mr. Teacher Guy, you're a doofus." ) );
return 0;
}