hello here is another page in the book and i am getting the same error after trying to run the code
Code:
#include <stdio.h>
// function prototypes
void printGreeting( char* aGreeting , char* aName );
void printAGreeting( char* greeting );
void printAnAddressee( char* aName );
void printAComma( void );
void printANewline();
int main() {
printGreeting( "Hi" , "Bub" );
return 0;
}
void printGreeting( char* aGreeting , char* aName ) {
printAGreeting( aGreeting );
printAComma();
printAnAddressee ( aName );
printANewline();
}
void printAGreeting( char* greeting ) {
printf("s" , greeting);
}
void printAnAddressee( char* aName ) {
printf ( "%s" );
}
void printAComma( void ) {
printf( ", " );
}
void printANewline() {
printf( "\n" );
}