חידה ב ++ C
The following code compiles and works. #include <stdio.h> #include "One.h" int main(int argc , char* argv[]) { int one_int = One(); char* one_str = One(); printf ("Integer [%d]\nString [%s]\n",one_int , one_str ); return 0; } Executing the code would yield Integer [1] String [One] What should one.h include ? Thanks
The following code compiles and works. #include <stdio.h> #include "One.h" int main(int argc , char* argv[]) { int one_int = One(); char* one_str = One(); printf ("Integer [%d]\nString [%s]\n",one_int , one_str ); return 0; } Executing the code would yield Integer [1] String [One] What should one.h include ? Thanks