C - Print a string without any quote (single or double) in the program Code Example

The code for Print a string without any quote (single or double) in the program

#include <stdio.h>
#define PRINT_STRING(STR) #STR
int main()
{
	printf(PRINT_STRING(IncludeHelp));
	return 0;
}

/*
Output:
IncludeHelp
*/
Code by IncludeHelp, on August 23, 2022 10:11

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.