Answer (Choose 1 answer)
What will happen if you try to compile and try to run the code below?
#include <stdio.h>
void print_msg(void);
int main(){
print_msg("This is a message to print");
return 0;
}
void print_msg(void){
printf( "This is a message to print");
}
A. I can not compile the program because it has some errors
B. The program will be compiled and can run well
C. I can compile the program but when i try to run the program, it causes a runtime error
D. The program will be compiled but the result is not correct
E 44