Useful C tricks and code samples.
How to define a string and print it out with the printf() function. #include <stdio.h> /* Defining a global string. */ #define hi "Hello Sire." int main(void) { /* Printing out the string. */ printf("%s\n", hi); return 0; }#include <stdio.h> /* Defining a global string. */ #define hi "Hello Sire." int … Read more