Answers for "#ifdef in c"

C#
0

#ifdef in c

#include <stdio.h>
#define YEARS_OLD 10

int main()
{
   #ifdef YEARS_OLD
   printf("TechOnTheNet is over %d years old.\n", YEARS_OLD);
   #endif

   printf("TechOnTheNet is a great resource.\n");

   return 0;
}
Posted by: Guest on February-07-2021

C# Answers by Framework

Browse Popular Code Answers by Language