Declare macro
C
/*OBJECT-LIKE MACRO*/
//Assigns the macro FOO to the value bar in the c preprocessor
#define FOO bar
//Example:
#define STRING "Hello, world!"
printf(STRING);
//Prints Hello, world! to the console
/*FUNCTION-LIKE MACRO*/
#define FOO() bar()
//Example:
#define PRINT() printf("Hello, world!")
PRINT();
//Prints out Hello, world!
Also in C:
- Title
- how to mutex lock in c
- Category
- C
- Title
- passing 2d array as parameter to function in c
- Category
- C
- Title
- strcat in c
- Category
- C
- Title
- code in c skipping over scanf
- Category
- C
- Title
- binary tree geekd for geeks
- Category
- C
- Title
- code wars responsable drinker
- Category
- C
- Title
- download file by command line windows
- Category
- C
- Title
- get current used proxy windows 7
- Category
- C
- Title
- iterar en map
- Category
- C
- Title
- accessing elements 2D array using pointers
- Category
- C
- Title
- how to get random numbers in c
- Category
- C
- Title
- add border to image android
- Category
- C
- Title
- putting value of struct in runtme
- Category
- C
- Title
- vbl share price
- Category
- C
- Title
- how to login to another user in powershell
- Category
- C
- Title
- root in C
- Category
- C
- Title
- compare two chars c
- Category
- C
- Title
- printf n characters c
- Category
- C
- Title
- how to ascii art in c
- Category
- C
- Title
- strtoul C
- Category
- C
- Title
- networkx remove attributes
- Category
- C
- Title
- division recursiva
- Category
- C
- Title
- for loop in c
- Category
- C
- Title
- atoi
- Category
- C
- Title
- remove an element from a set
- Category
- C
- Title
- printf("%3d ",XX);
- Category
- C
- Title
- typedef vs #define
- Category
- C
- Title
- jock cranley
- Category
- C
- Title
- error 403
- Category
- C
- Title
- c bitwise operators
- Category
- C
- Title
- docker images command
- Category
- C
- Title
- resto de division recursiva
- Category
- C
- Title
- write a binary file c
- Category
- C
- Title
- duplicar cadena
- Category
- C
- Title
- what is a long long int in c
- Category
- C
- Title
- reset c array to zero
- Category
- C
- Title
- is c and c++ platform independent
- Category
- C
- Title
- v
- Category
- C
- Title
- es palindromo
- Category
- C
- Title
- array length c
- Category
- C
- Title
- infinite loop using while
- Category
- C
- Title
- error: ‘cout’ was not declared in this scope
- Category
- C
- Title
- get configuration script window 7
- Category
- C
- Title
- multiplication in c
- Category
- C
- Title
- c producer consumer pthread semaphore
- Category
- C
- Title
- powershell list big files
- Category
- C
- Title
- c bit access union
- Category
- C
- Title
- program using if statement in c whether numnber is less eqaul to greater than 50
- Category
- C
- Title
- enum c
- Category
- C
- Title
- c concatenate strings
- Category
- C
- Title
- es fibo
- Category
- C
- Title
- how to call the tkinter insert command from another class
- Category
- C
- Title
- atoi c
- Category
- C
- Title
- c program to count duplicates in an array
- Category
- C
- Title
- mangoosejs
- Category
- C
- Title
- lelcetric fied
- Category
- C
- Title
- Couldn't create temporary file to work with
- Category
- C
- Title
- oop244
- Category
- C
- Title
- functions return type in c
- Category
- C
- Title
- 233 pounds to inr
- Category
- C
- Title
- typedef in c
- Category
- C
- Title
- '&&' within '||'
- Category
- C
- Title
- arduino millis()
- Category
- C
- Title
- entete
- Category
- C
- Title
- write array of char to file in c
- Category
- C
- Title
- c printf right pad with space
- Category
- C
- Title
- how to remove \n from a string c
- Category
- C
- Title
- div
- Category
- C
- Title
- what is stdin in c
- Category
- C
- Title
- function pointer c
- Category
- C
- Title
- how to print in c
- Category
- C
- Title
- objective c swizzle method
- Category
- C
- Title
- linux directory commands
- Category
- C
- Title
- c bit access struct
- Category
- C
- Title
- how to make a linked list in c
- Category
- C
- Title
- arduino digital input pins
- Category
- C
- Title
- hostbuilder add environment variables
- Category
- C
- Title
- 'int' is not a subtype of type 'double' dart
- Category
- C
- Title
- lazer codechef
- Category
- C
- Title
- .\main.c:4:8: error: expected declaration specifiers or '...' before '\x6f726c64'
- Category
- C
- Title
- matrix c declaration
- Category
- C
- Title
- bella ciao lyrics
- Category
- C
- Title
- c get first n characters of string
- Category
- C
- Title
- link whatsapp to website
- Category
- C
- Title
- calculate max of three numbers using ternary operator in c
- Category
- C
- Title
- find gcd iteratively
- Category
- C
- Title
- java.lang.SecurityException: Permission denied (missing INTERNET permission?)
- Category
- C
- Title
- C/c drop mime
- Category
- C
- Title
- -> operator
- Category
- C
- Title
- declaring a volatile in c
- Category
- C
- Title
- generate all permutations of string
- Category
- C
- Title
- mongodb delete all documents
- Category
- C
- Title
- docker pull command
- Category
- C
- Title
- c allocate array
- Category
- C
- Title
- can we write a program without main in c
- Category
- C
- Title
- Declaring Variables in C
- Category
- C
- Title
- arduino define
- Category
- C
- Title
- cantidad de digitos recursiva
- Category
- C
- Title
- sum of arrays
- Category
- C
- Title
- random en c
- Category
- C