hello guys, how are you,
I got a small problem with my code, and I would love if somebody can walk me through it step by step and help me debug the code
here is my code
Code:
#include <stdio.h>
#include <string.h>
struct books printhello();
int outputboo( struct books boo);
struct Books{
char title[50];
char author[50];
char subject[100];
int book_id;
};
main( ){
}
outputboo(struct books boo){
printf(" here is your value of the function of the STRUCT :%i",&boo.book_id );
}
struct books printhello(){
struct books boo ;
scanf("%i",&boo.book_id);
printf("your boo book_id is : %i", boo.book_id);
return Boo;
}
and here is the code in Code::Blocks
and here is the warning I got :