-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRawString.c.save
60 lines (51 loc) · 1.81 KB
/
RawString.c.save
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*@Shyed Shahriar Housaini
Copyright: @uthor*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <windows.h>
///#include <threads.h>
#include <conio.h>
/// #include <dos.h>
#include <direct.h>
int main(void)
{
printf(""Hello world\nHello world");
printf("\n");
printf("Hello world\\nHello world !@#$%^&*()_+=-");
printf("\n");
printf("%s","Hello world\\nHello world !@#$%^&*()_+=-");
printf("\n");
printf("%s","Hello world\nHello world");
printf("\n");
printf(R"(Hello world\nHello world)");
printf("\n");
printf(R"(Raw string support printing *&^%$#@!~()_+-=,<.>/?:;"' )");
printf("\n");
printf(R"(.C with a Capital C file format does not support raw string. *&^%$#@!~()_+-=,<.>/?:;"' )");
printf("\n");
printf(R"(.c with a small c file format does support raw string )");
printf("\n");
printf(R"( Raw string did not support \n new line )");
printf("\n");
printf(
R"(More reading material at - https: // en.wikipedia.org/wiki/String_literal#Raw_strings;)");
printf("\n");
printf(
R"(More reading material at - https: // en.wikipedia.org/wiki/String_literal;)");
printf("\n");
printf(
R"(More reading material at - https://stackoverflow.com/questions/24850244/does-c-support-raw-string-literals;)");
printf("\n");
printf(
R"(More reading material at - https: // docs.microsoft.com/en-us/cpp/c-language/c-string-literals?view=vs-2019)");
printf("\n");
printf(
R"(More reading material at-https: // docs.microsoft.com/en-us/cpp/c-language/string-literal-concatenation?view=vs-2019)");
printf("\n");
/// Raw string.
printf(R"(More reading material at - https://www.geeksforgeeks.org/const-qualifier-in-c/;)");
printf("\n");
return 0;
}