How to print string without double quotes in C

1 Answer

0 votes
#include <stdio.h>

#define S_PRINT(x) #x

int main() {
   printf(S_PRINT(string without double quotes));
   
   return 0;
}


/*
run:

string without double quotes

*/

 



answered Aug 2, 2020 by avibootz

Related questions

1 answer 148 views
1 answer 110 views
1 answer 145 views
3 answers 243 views
243 views asked Jun 10, 2023 by avibootz
2 answers 330 views
1 answer 108 views
1 answer 103 views
...