Switching from C to C++ can be both easy, as there are many similarities between the two languages, and hard, as there are many differences that require forgetting what you know and habits that you may have developed from programming in C.However, in general, it can take anywhere from several weeks to several months to learn C++ after C. If you're an experienced C programmer, you may find that learning C++ is relatively easy.Moving C to C++ is a challenging and complex process, but one that can offer significant benefits to software development teams. C++ is an object-oriented language that offers a range of features and tools that can help developers write more efficient, modular, and maintainable code.
Is it better to learn C before C++ : Understand that the defensiveness and paranoia that come with writing C are not fundamental to systems programming, but that the problems that engender them are at the root of a lot of the complexity you'll see in other languages. Learning C first would help you understand low level code, that much is true.
Does learning C help with learning C++ .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} Anyways C is not mandatory to learn if you want to learn C++. So it's completely upto you. ITS A GOOD IDEA BECAUSE C GIVES YOU CONFIDENCE TO KEEP GOING WITH C++ DUE TO FACT THAT C AND C++ ARE NOT FAR DIFFER . .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Is C++ more useful than C : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b ,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}} If you are interested in low-level programming tasks such as operating systems and device drivers, C may be your better choice. If you are more interested in developing higher-level applications such as web browsers and graphics software, C++ may be a better fit. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} Learning the basic principles can be done in about 2–3 months. Learning C++ programming will take a long time when you are concentrated just on functional C++, like input and output, and excluding objects, classes, and file operations. For absolute newbies, it will take only 2–3 months to learn the basics. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)} .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}} Learning C and C++ remains relevant, and it's quite likely that their relevance persists in 2024. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
Why do people prefer C++ over C .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} C language seems to be more suitable for low-level programming applications, and it is also a foundational language for beginners, whereas C++ is an extension of C programming language with the OOP's concept, so it is more feasible for complex applications also it is faster, secure. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILf uVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}} C is not a perfect subset of C++. However, virtually every C program is also a C++ program without modification, so C++ can literally do everything C can do. Originally Answered: What are the things that C can do, but C++ cannot .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} C does not have so many rules and restrictins as C++ it is not so difficult to learn it because it is more direct to code. On other hand the C++ is more powefull to use. The conclusion is C is easier to learn, C++ is easier to use. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)} .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} C does not have so many rules and restrictins as C++ it is not so difficult to learn it because it is more direct to code. On other hand the C++ is more powefull to use. The conclusion is C is easier to learn, C++ is easier to use. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Can I learn C++ in 3 months : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} C++ is somewhat difficult to learn, especially if you have never programmed before or you have never used a low-level programming language before. If you are a beginner with no programming experience, you should expect it to take at least three months to learn the basics. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Is C++ harder than Python : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfu Vd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}} Python's syntax is a lot closer to English and so it is easier to read and write, making it the simplest type of code to learn how to write and develop with. The readability of C++ code is weak in comparison and it is known as being a language that is a lot harder to get to grips with. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
Is C++ a dead language .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} There's nothing outwardly wrong with C++, – that's why it's still so widely used today.” In 2022, C++ is a useful, up-to-date, and vital programming language, especially as many of the world's major operating systems such as Microsoft Windows were built from the program. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)} .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}} If you are a beginner with no programming experience, you should expect it to take at least three months to learn the basics. If you have programmed before, it may only take you a month or two. To build mastery in C++, you should expect to spend at least two years working on improving your skills a little each day. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px} Those two ideas combined allowed for higher level abstraction without losing the low level efficiency of C. So, the language 'C with classes' was created. In 1984 'C with classes' was renamed to C++. So, C++ is a superset of C, meaning that it was an extension of C and is based on it. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Why is C++ safer than C : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,. trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}} Massey said that Bluefruit Software tends to use C++ rather than C and that well-architected object-oriented code can mitigate memory-safety problems. He added that C++ makes code more testable, supporting the company's use of unit testing together with a comprehensive set of practices. .vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
VIDEO VIDEO
Antwort Is it easier to learn C++ after C? Weitere Antworten – Is C++ easier after learning C
Switching from C to C++ can be both easy, as there are many similarities between the two languages, and hard, as there are many differences that require forgetting what you know and habits that you may have developed from programming in C.However, in general, it can take anywhere from several weeks to several months to learn C++ after C. If you're an experienced C programmer, you may find that learning C++ is relatively easy.Moving C to C++ is a challenging and complex process, but one that can offer significant benefits to software development teams. C++ is an object-oriented language that offers a range of features and tools that can help developers write more efficient, modular, and maintainable code.
Is it better to learn C before C++ : Understand that the defensiveness and paranoia that come with writing C are not fundamental to systems programming, but that the problems that engender them are at the root of a lot of the complexity you'll see in other languages. Learning C first would help you understand low level code, that much is true.
Does learning C help with learning C++
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
Anyways C is not mandatory to learn if you want to learn C++. So it's completely upto you. ITS A GOOD IDEA BECAUSE C GIVES YOU CONFIDENCE TO KEEP GOING WITH C++ DUE TO FACT THAT C AND C++ ARE NOT FAR DIFFER .
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Is C++ more useful than C : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b
,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}
If you are interested in low-level programming tasks such as operating systems and device drivers, C may be your better choice. If you are more interested in developing higher-level applications such as web browsers and graphics software, C++ may be a better fit.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
Learning the basic principles can be done in about 2–3 months. Learning C++ programming will take a long time when you are concentrated just on functional C++, like input and output, and excluding objects, classes, and file operations. For absolute newbies, it will take only 2–3 months to learn the basics.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}
Learning C and C++ remains relevant, and it's quite likely that their relevance persists in 2024.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
Why do people prefer C++ over C
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
C language seems to be more suitable for low-level programming applications, and it is also a foundational language for beginners, whereas C++ is an extension of C programming language with the OOP's concept, so it is more feasible for complex applications also it is faster, secure.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILf
uVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}
C is not a perfect subset of C++. However, virtually every C program is also a C++ program without modification, so C++ can literally do everything C can do. Originally Answered: What are the things that C can do, but C++ cannot
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
C does not have so many rules and restrictins as C++ it is not so difficult to learn it because it is more direct to code. On other hand the C++ is more powefull to use. The conclusion is C is easier to learn, C++ is easier to use.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
C does not have so many rules and restrictins as C++ it is not so difficult to learn it because it is more direct to code. On other hand the C++ is more powefull to use. The conclusion is C is easier to learn, C++ is easier to use.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Can I learn C++ in 3 months : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd
b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
C++ is somewhat difficult to learn, especially if you have never programmed before or you have never used a low-level programming language before. If you are a beginner with no programming experience, you should expect it to take at least three months to learn the basics.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Is C++ harder than Python : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfu
Vd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}
Python's syntax is a lot closer to English and so it is easier to read and write, making it the simplest type of code to learn how to write and develop with. The readability of C++ code is weak in comparison and it is known as being a language that is a lot harder to get to grips with.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
Is C++ a dead language
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
There's nothing outwardly wrong with C++, – that's why it's still so widely used today.” In 2022, C++ is a useful, up-to-date, and vital programming language, especially as many of the world's major operating systems such as Microsoft Windows were built from the program.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}
If you are a beginner with no programming experience, you should expect it to take at least three months to learn the basics. If you have programmed before, it may only take you a month or two. To build mastery in C++, you should expect to spend at least two years working on improving your skills a little each day.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}.IiOSLb .rsGxI.Ww4FFb,.Ww4FFb{background-color:#fff;border-radius:0px;border-width:0;box-shadow:none}.Ww4FFb .mnr-c:not(:empty),.mnr-c:not(:empty) .Ww4FFb,.Ww4FFb .Ww4FFb{box-shadow:none;margin-bottom:0px}.vt6azd{margin:0px 0px 8px}.vt6azd{margin:0px 0px 30px}.CBvvz{margin:-var(–sds-sys-measurement–space-sm) 0px 0px}.CBvvz{margin:-30px 0px 0px}
Those two ideas combined allowed for higher level abstraction without losing the low level efficiency of C. So, the language 'C with classes' was created. In 1984 'C with classes' was renamed to C++. So, C++ is a superset of C, meaning that it was an extension of C and is based on it.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.byrV5b{align-items:center;display:flex;flex-direction:row}.sBJG1d{display:flex;flex-direction:row;justify-content:center}.kDmHO{align-items:center;display:flex;flex-direction:column}.lR4vec{display:flex;flex-direction:column;justify-content:center}.xTEyc{align-items:start;display:flex;flex-direction:row}.OjFzvd{display:flex;flex-direction:row;justify-content:start}.YIPhrb{align-items:start;display:flex;flex-direction:column}.BToiNc{display:flex;flex-direction:column;justify-content:start}.E4bmEc .Va021{flex:1 1 100%}.E4bmEc .Y76LGf{flex:1 1 calc(50% – 4px)}
Why is C++ safer than C : .wDYxhc{clear:both}.cUnQKe .wDYxhc,.related-question-pair .wDYxhc,.M8OgIe .fm06If .wDYxhc{clear:none}html .dG2XIf .xpdclose .LKPcQc,html .dG2XIf .xpdopen .viOShc{padding-top:0;}.garHBe{color:#202124;font-size:20px;line-height:1.3;position:relative}.garHBe a{color:#202124}.xpdopen .Hhmu2e{overflow:inherit}.xpdclose .a84NUc:not(:empty),.xpdopen .CQKTwc:not(:empty){border-top:solid 1px #ebebeb;border-radius:0}.xpdclose .pmYXee .a84NUc:not(:empty),.xpdopen .pmYXee .CQKTwc:not(:empty){border-top:none}.cAn2Qb .a84NUc:not(:empty),.cAn2Qb .CQKTwc:not(:empty){border-top:none}.SHa8ve{display:none}.xpdclose .TOfaBb.SHa8ve,.xpdopen .LL5J7d.SHa8ve{display:block}.rKR6H{padding-top:0.1px}.xpdclose .oHglmf,.xpdopen .xzPb7d{padding-bottom:16px}.xpdclose .kp-header .oHglmf,.xpdopen .kp-header .xzPb7d{padding-bottom:0}.c2xzTb .xpdclose .oHglmf,.c2xzTb .xpdopen .xzPb7d{padding-bottom:0}.HSryR .xpdclose .oHglmf,.HSryR .xpdopen .xzPb7d{padding-bottom:0}.Wnoohf .xpdopen .yp1CPe,.OJXvsb .xpdclose .siXlze{padding-bottom:16px}.Wnoohf .xpdopen .yp1CPe .xpdbox g-more-link{top:28px}.Wnoohf .xpdclose .wDYxhc.xsZWvb,.Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}.OJXvsb .xpdclose .wDYxhc.siXlze{padding-bottom:16px}#rhs .dG2XIf .xpdclose .LKPcQc,#rhs .dG2XIf .xpdopen .viOShc{padding-top:0}#rhs .Wnoohf .xpdopen .yp1CPe,#rhs .OJXvsb .xpdclose .siXlze{padding-bottom:15px}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh{padding-bottom:0}#rhs .Wnoohf .xpdclose .wDYxhc.xsZWvb.ecRggb,#rhs .Wnoohf .xpdopen .wDYxhc.EfDVh.ecRggb,#rhs .dG2XIf .ecRggb{padding-bottom:15px}.ecRggb{background-color:#fff;box-shadow:none;border:1px solid #dadce0;border-radius:8px;margin:0 0 16px 0}.Jb0Zif .UiGGAb.ILfuVd,.ILfuVd{font-size:16px;line-height:24px;}.fm06If .ILfuVd.NA6bn,.c2xzTb .ILfuVd.duSGDe,.c2xzTb .ILfuVd.NA6bn.c3biWd{font-size:14px;line-height:1.58;}.c2xzTb .zloOqf{font-size:16px;margin-bottom:16px;margin-top:-8px;}.FLWspc{margin:16px}.LFYdN{font-size:16px;margin:16px}.trNcde .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:14px;line-height:22px}.HSryR .ILfuVd{line-height:1.5}.ss6qqb .ILfuVd,.ss6qqb .UiGGAb.ILfuVd{font-size:14px;line-height:22px}.c2xzTb .qLYAZd{margin:16px 16px 16px 0;}.d9FyLd{padding:0 0 10px}.hgKElc{padding:0 8px 0 0}.kX21rb{font-size:12px;line-height:1.34;display:inline-block;font-family:Google Sans,arial,sans-serif;padding-right:0;white-space:nowrap}.SPV4pd{display:flex;overflow-x:auto}.SPV4pd::-webkit-scrollbar{display:none}.Vjskue{margin-left:8px}.JT9o0,.ZnIJV{align-items:center;border:1px solid #dadce0;border-radius:16px;box-sizing:border-box;color:#1a73e8;cursor:pointer;display:flex;height:32px;margin-bottom:16px}.BkHX0d{font-family:Google Sans,arial,sans-serif-medium,sans-serif;font-size:14px;line-height:20px;padding-right:20px;text-align:center;white-space:nowrap}.xv1D5b{display:block;padding:0 8px 0 12px;width:18px;height:18px}.LGOjhe{overflow:hidden;padding-bottom:20px}.trNcde .LGOjhe{overflow:visible}.SALvLe .LGOjhe,.Jb0Zif .LGOjhe,.HSryR .LGOjhe,.IVvPP .LGOjhe{padding:0 0 10px;margin:10px 0 0 0}.s6JM6d .SALvLe .LGOjhe{margin-top:12px;}.s6JM6d .HSryR .LGOjhe{margin-top:12px;padding-bottom:20px}#res .Jb0Zif .qDOt0b h3,.IVvPP .qDOt0b h3{font-size:16px;line-height:1.375}.Jb0Zif .qDOt0b .iUh30,.IVvPP .qDOt0b .iUh30{font-size:14px;line-height:1.58}.IVvPP .qDOt0b{border-bottom:1px solid #dadce0;padding-bottom:6px}.rjOVwe.ILfuVd{font-size:16px;line-height:20px}.dG2XIf .rjOVwe{padding-top:22px;padding-bottom:0;margin-bottom:1px}.xWd7I{padding-top:12px;}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{font-size:14px;line-height:22px}.n6SJS .ILfuVd{font-size:14px}.ILfuVd.NA6bn,.ILfuVd.duSGDe,.ILfuVd.UiGGAb,.IVvPP .ILfuVd{line-height:20px}.xpd-wa .g-blk{margin:initial}.xpd-wa .dG2XIf{border:initial;box-shadow:none}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-family:Google Sans,arial,sans-serif;color:#202124}.fm06If .ILfuVd,.c2xzTb .ILfuVd,.Jb0Zif .c2xzTb .ILfuVd{font-size:20px;line-height:28px}.cUnQKe .ILfuVd,.cUnQKe .UiGGAb.ILfuVd,.w5mTAe .ILfuVd,.W0urI .ILfuVd{color:#4d5156;font-family:Google Sans,arial,sans-serif;font-size:16px;line-height:24px}.fm06If .ILfuVd b,.trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.c2xzTb .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:#d3e3fd;color:#040c28;font-weight:500}@media (forced-colors:active){.fm06If .ILfuVd b,.c2xzTb .ILfuVd b,.
trNcde .ILfuVd b,.cUnQKe .ILfuVd b,.w5mTAe .ILfuVd b,.W0urI .ILfuVd b{background-color:Mark;color:MarkText}}
Massey said that Bluefruit Software tends to use C++ rather than C and that well-architected object-oriented code can mitigate memory-safety problems. He added that C++ makes code more testable, supporting the company's use of unit testing together with a comprehensive set of practices.
.vBnbff .mO5MMe{padding-top:10px}.cUnQKe .vBnbff .mO5MMe{padding-left:0;}.trNcde .vBnbff .mO5MMe{padding:10px 0 0 0}.cAn2Qb.abzPbc .mnr-c{max-width:calc(100% – 162px)}.tF2Cxc{position:relative}.Jb0Zif .BDNLRc{margin:16px 16px -11px}.RUXr2d{display:inline}.MTB56{margin-right:12px;vertical-align:middle}.Pthbuf{display:flex;align-items:center}.m164Nd{vertical-align:middle;display:inline-block}.qpGQpf{clear:both;padding-top:6px}.aCOpRe{line-height:1.58;word-wrap:break-word}.aCOpRe sup{line-height:0.9}.yuRUbf{font-weight:normal;font-size:small;line-height:1.58;}.IsZvec{max-width:48em;color:#4d5156;line-height:1.58}.uo4vr{color:#70757a;line-height:1.58}.IjZ7ze{display:inline-block;color:#70757a;font-size:12px;line-height:1.34;white-space:nowrap}.FyYA1e{margin:5px 0}a:hover h3.LC20lb{text-decoration:underline}.M8OgIe .dG2XIf .fm06If .LC20lb,.n6SJS h3.LC20lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.LC20lb{display:inline-block;line-height:1.3;margin-bottom:3px;}.c2xzTb .LC20lb{margin-bottom:0}.MMgsKf{padding-top:2px}.DKV0Md{padding-top:4px;padding-top:5px;}.Z3xoIb{padding-top:27px;padding-top:28px;}.NXKJM{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hceuRc{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.fzBvHb{font-weight:700}.DKV0Md,.Z3xoIb{margin-top:18px;}.xvfwl{margin-top:4px}.q0vns a.fl{font-size:12px}.TQc1id .qLRx3b{font-size:14px;line-height:1.58}.HGLrXd{display:inline-block;-webkit-text-size-adjust:none}.q0vns{display:inline-block;padding-bottom:2px;padding-top:1px}.NJjxre{position:absolute;left:0;top:0;width:100%}.M8OgIe .VWCdhc.Mjve0e .q0vns{width:max-content}.VjDLd .TieM1d .tjvcx,.IVvPP .tjvcx,.kno-kp .tjvcx,.VjDLd .kp-wholepage-osrp .tjvcx,#rhs .ss6qqb .tjvcx,#rhs .trNcde .tjvcx{display:inline-block;height:19px;overflow-y:hidden}.ojE3Fb{padding:0;padding-bottom:0;}.ojE3Fb .q0vns{display:flex;overflow:hidden;padding:0;padding-bottom:0;align-items:center;}.ojE3Fb .q0vns a.fl{padding-top:0;font-size:12px;line-height:18px;}.GvPZzd{font-size:12px;line-height:18px;}.dTxz9{padding-right:38px}.iG7WGe{color:#202124;padding:0;text-align:center;width:16px}.VuuXrf{color:#202124;font-size:14px;display:block;line-height:20px;white-space:nowrap;}.qncq2c{font-size:12px;line-height:16px;margin-left:6px}.CA5RN{overflow:hidden}.K2VDSb{display:flex;flex-direction:row}.H9lube{background-color:#f1f3f4;border:1px solid #dadce0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;height:26px;width:26px;margin-right:12px;flex-shrink:0;vertical-align:middle;}.fJOpI.H9lube{background-color:#e2eeff;border:1px solid #e2eeff}.P1UpZb{background-color:#f1f3f4;border:1px solid #ecedef}.eqA2re.NjwKYd{margin-right:0}.Vwoesf:not(.oRVWZ){display:inline-block}.Vwoesf{vertical-align:middle}.XNo5Ab.XNo5Ab{display:block;}.lWlVCe{border-radius:50%}.bJVp8c{color:#0060f0}.Jj3Uob{color:#0060f0;}.ob9lvb{color:#4d5156}.ob9lvb.HCMUuf{color:#70757a}.ylgVCe{color:#4d5156}.B6fmyf{position:absolute;top:0;height:0;visibility:hidden;white-space:nowrap;width:100%}.B6fmyf.Mg1HEd{height:auto}.ljeAnf{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}