{"id":1,"date":"2024-06-28T04:29:07","date_gmt":"2024-06-28T04:29:07","guid":{"rendered":"https:\/\/www.olive-ostrich-890936.hostingersite.com\/?p=1"},"modified":"2026-05-06T06:34:11","modified_gmt":"2026-05-06T06:34:11","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/gloritech.com.br\/?p=1","title":{"rendered":"Hello world!"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1\" class=\"elementor elementor-1\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-714ee1c e-con-full e-flex e-con e-parent\" data-id=\"714ee1c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-22653577 elementor-widget__width-inherit elementor-drop-cap-yes elementor-drop-cap-view-default elementor-widget elementor-widget-text-editor\" data-id=\"22653577\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;drop_cap&quot;:&quot;yes&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Here it is a simple <strong>Hello, World<\/strong> source code in C and C++ languages:<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p><strong>C Version:<\/strong><\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p>#include&lt;stdio.h&gt;<br \/>main()<br \/><span style=\"font-style: inherit; font-weight: inherit; text-align: var(--text-align); background-color: var(--ast-global-color-5); color: var(--ast-global-color-3);\">{<br \/><\/span>printf(&#8220;Hello, World!\\n&#8221;);<br \/>}<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p><strong>C++ Version:<\/strong><\/p>\n<p>#include&lt;iostream&gt;<br \/><span style=\"background-color: var(--ast-global-color-5); color: var(--ast-global-color-3); font-style: inherit; font-weight: inherit; text-align: var(--text-align);\">using namespace std;<br \/><\/span><span style=\"font-style: inherit; font-weight: inherit; text-align: var(--text-align); background-color: var(--ast-global-color-5); color: var(--ast-global-color-3);\">main()\u00a0 \/\/ In C\/C++, double slashes (\/\/) denote a comment, causing the compiler to ignore the rest of the line. If a return type is omitted from the <code class=\"KDcb0c\" dir=\"ltr\" data-sfc-root=\"c\" data-sfc-cb=\"\" data-complete=\"true\" data-sae=\"\" data-copy-service-computed-style=\"font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 1px solid rgb(44, 46, 53);\">main()<!--TgQPHd|[]--><\/code> function, the compiler assumes a default return type of <code class=\"KDcb0c\" dir=\"ltr\" data-sfc-root=\"c\" data-sfc-cb=\"\" data-complete=\"true\" data-sae=\"\" data-copy-service-computed-style=\"font-family: monospace; font-size: 14px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 1px solid rgb(44, 46, 53);\">int<!--TgQPHd|[]--><\/code>.<br \/><\/span><span style=\"font-style: inherit; font-weight: inherit; text-align: var(--text-align); background-color: var(--ast-global-color-5); color: var(--ast-global-color-3);\">{<br \/><\/span><span style=\"font-style: inherit; font-weight: inherit; text-align: var(--text-align); background-color: var(--ast-global-color-5); color: var(--ast-global-color-3);\">cout &lt;&lt; &#8220;Hello, World!&#8221; &lt;&lt; endl;<br \/><\/span>}<\/p>\n<p><!-- \/wp:paragraph --><\/p>\n<p><!-- wp:paragraph --><\/p>\n<p><!-- \/wp:paragraph --><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Here it is a simple Hello, World source code in C and C++ languages: C Version: #include&lt;stdio.h&gt;main(){printf(&#8220;Hello, World!n&#8221;);} C++ Version: #include&lt;iostream&gt;using namespace std;main()\u00a0 \/\/ In C\/C++, double slashes (\/\/) denote a comment, causing the compiler to ignore the rest of the line. If a return type is omitted from the main() function, the compiler assumes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-info-e-tech"],"_links":{"self":[{"href":"https:\/\/gloritech.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gloritech.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gloritech.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gloritech.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gloritech.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1"}],"version-history":[{"count":0,"href":"https:\/\/gloritech.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions"}],"wp:attachment":[{"href":"https:\/\/gloritech.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gloritech.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gloritech.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}