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 231 views
1 answer 197 views
1 answer 241 views
3 answers 380 views
380 views asked Jun 10, 2023 by avibootz
2 answers 470 views
1 answer 212 views
1 answer 210 views
...