I am having a slight is regarding functions. I believe it is likely because I am not using them. My code is as follows:
/*date difference calculator*/ #incl
You can also use EXIT_SUCCESS instead of return 0;. The macro EXIT_SUCCESS is actually defined as zero, but makes your program more readable.
EXIT_SUCCESS
return 0;