Answers for "#define in c"

2

what is mean of define in c language

#define is a C preprocessor directive used to define macros. ... The preprocessor directives are used to provide general instruction or required data which is used inside a program. A macro is a block of code which has been given a name. Any occurance of that name is replaced by the value of the macro.
Posted by: Guest on April-30-2020
2

#define in c

#include <stdio.h>

#define NAME "TechOnTheNet.com"
#define AGE 10

int main()
{
   printf("%s is over %d years old.\n", NAME, AGE);
   return 0;
}
Posted by: Guest on September-24-2020
3

define in c

#define CNAME value
Posted by: Guest on February-22-2020
0

c define

#define SIZE 42
#define MSG "Hello, World!"
Posted by: Guest on August-05-2020
0

#define in c

#define NAME "TechOnTheNet.com"
Posted by: Guest on September-24-2020

Browse Popular Code Answers by Language