Code has been added to clipboard!
Breaking Long Strings in C++
Example
#include<stdio.h>
int main() {
// Double quotes can be used anywhere in a string
char * str1 = "BitDegree""Learn";
// Space line break can be added between two double quotes
char * str2 = "BitDegree" "Tutorials";
char * str3 = "BitDegree"
"Courses";
puts(str1);
puts(str2);
puts(str3);
puts("BitDegree" // It's possible to break a string to multiple lines
"!!!");
}