Warning: Undefined array key 1 in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 505

Warning: Undefined array key 2 in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 505

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php on line 557

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/yogindar/www/blog/wp-content/plugins/visitors-online/visitors-online.php:505) in /home/yogindar/www/blog/wp-includes/rest-api/class-wp-rest-server.php on line 1930
{"id":2197,"date":"2020-09-12T17:56:15","date_gmt":"2020-09-12T17:56:15","guid":{"rendered":"http:\/\/www.yogindar.com\/news\/?p=2197"},"modified":"2020-09-12T17:56:15","modified_gmt":"2020-09-12T17:56:15","slug":"line-splicing","status":"publish","type":"post","link":"http:\/\/blog.yogindar.org\/?p=2197","title":{"rendered":"Line Splicing\u00a0"},"content":{"rendered":"

In C and C++ you can join the next line to the current line using Line spicing. Requires ‘\\’ to be added at the end of the line.<\/p>\n

 <\/p>\n

Example code to demostrate line splicing.<\/p>\n

[yogi@192 devel]$ cat linesplice.c
\n#include <stdio.h><\/p>\n

int main(int argc, char *argv[])
\n{
\n\/\/ test line splice
\nprintf(“Hello\\n”);
\nprintf(“World\\n”);<\/p>\n

return 0;
\n}
\n[yogi@192 devel]$ gcc -o linesplice linesplice.c
\n[yogi@192 devel]$ .\/linesplice
\nHello
\nWorld
\n[yogi@192 devel]$ vi linesplice.c
\n[yogi@192 devel]$ cat linesplice.c
\n#include <stdio.h><\/p>\n

int main(int argc, char *argv[])
\n{
\n\/\/ test line splice \\
\nprintf(“Hello\\n”);
\nprintf(“World\\n”);<\/p>\n

return 0;
\n}
\n[yogi@192 devel]$ gcc -o linesplice linesplice.c
\n[yogi@192 devel]$ .\/linesplice
\nWorld
\n[yogi@192 devel]$ vi linesplice.c
\n[yogi@192 devel]$ gcc -o linesplice linesplice.c
\n[yogi@192 devel]$ cat linesplice.c
\n#include <stdio.h><\/p>\n

int main(int argc, char *argv[])
\n{
\n\/\/ test line splice \\
\nprintf(“Hello\\n”); \\
\nprintf(“World\\n”);<\/p>\n

return 0;
\n}
\n[yogi@192 devel]$ .\/linesplice
\n[yogi@192 devel]$<\/p><\/blockquote>\n

 <\/p>\n

Source: Line Splicing in C\/C++ – GeeksforGeeks<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"

In C and C++ you can join the next line to the current line using Line spicing. Requires ‘\\’ to be added at the end of the line.   Example code to demostrate line splicing. [yogi@192 devel]$ cat linesplice.c #include <stdio.h> int main(int argc, char *argv[]) { \/\/ test line splice printf(“Hello\\n”); printf(“World\\n”); return 0; […]<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1337],"tags":[1333],"class_list":["post-2197","post","type-post","status-publish","format-standard","hentry","category-my-article","tag-programming-2"],"_links":{"self":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2197"}],"version-history":[{"count":1,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2197\/revisions"}],"predecessor-version":[{"id":2198,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2197\/revisions\/2198"}],"wp:attachment":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2197"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}