belongs to collection: C Preprocessors Programs
The # is a preprocessor operator, which is used to convert an argument into string i.e. quoted string.
Example:
#include <stdio.h> #define STR(X) #X int main(){ printf("%s\n",STR(Hello world!)); printf("%s\n",STR(How are you?)); printf("%s\n",STR(I love programming!)); return 0; }
Output
Hello world! How are you? I love programming!
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Example:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer