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 227 views
1 answer 194 views
1 answer 238 views
3 answers 377 views
377 views asked Jun 10, 2023 by avibootz
2 answers 465 views
1 answer 210 views
1 answer 206 views
...