CINXE.COM
Newest 'c' Questions - Stack Overflow
<!DOCTYPE html> <html class="html__responsive " lang="en"> <head><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://stackoverflow.com/questions/tagged/c","20230306155558","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1678118158"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <title>Newest 'c' Questions - Stack Overflow</title> <link rel="shortcut icon" href="https://web.archive.org/web/20230306155558im_/https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196"> <link rel="apple-touch-icon" href="https://web.archive.org/web/20230306155558im_/https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a"> <link rel="image_src" href="https://web.archive.org/web/20230306155558im_/https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a"> <link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/web/20230306155558/https://stackoverflow.com/opensearch.xml"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0"> <meta property="og:type" content="website"/> <meta property="og:url" content="https://web.archive.org/web/20230306155558/https://stackoverflow.com/questions/tagged/c"/> <meta property="og:site_name" content="Stack Overflow"/> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://web.archive.org/web/20230306155558im_/https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded"/> <meta name="twitter:card" content="summary"/> <meta name="twitter:domain" content="stackoverflow.com"/> <meta name="twitter:title" property="og:title" itemprop="name" content="Newest 'c' Questions"/> <meta name="twitter:description" property="og:description" itemprop="description" content="Stack Overflow | The World’s Largest Online Community for Developers"/> <script id="webpack-public-path" type="text/uri-list">https://cdn.sstatic.net/</script> <script src="/web/20230306155558js_/https://stackoverflow.com/Content/Js/third-party/jquery-1.12.4.min.js"></script> <script defer src="https://web.archive.org/web/20230306155558js_/https://cdn.sstatic.net/Js/third-party/npm/@stackoverflow/stacks/dist/js/stacks.min.js?v=1d4d417772d8"></script> <script src="https://web.archive.org/web/20230306155558js_/https://cdn.sstatic.net/Js/stub.en.js?v=e56950123f65"></script> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20230306155558cs_/https://cdn.sstatic.net/Shared/stacks.css?v=56e23d88c162"> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20230306155558cs_/https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=453a5648c50d"> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20230306155558cs_/https://cdn.sstatic.net/Sites/stackoverflow/secondary.css?v=6793be5668e3"> <link rel="alternate" type="application/atom+xml" title="Newest c questions feed" href="/web/20230306155558/https://stackoverflow.com/feeds/tag?tagnames=c&sort=newest"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20230306155558cs_/https://cdn.sstatic.net/Shared/Channels/channels.css?v=a5fae8812988"> <script type="application/json" data-role="module-args" data-module-name="Shared/options.mod">{"options":{"locale":"en","serverTime":1678118158,"routeName":"Questions/ListByTag","stackAuthUrl":"https://web.archive.org/web/20230306155558/https://stackauth.com","networkMetaHostname":"meta.stackexchange.com","site":{"name":"Stack Overflow","description":"Q\u0026A for professional and enthusiast programmers","isNoticesTabEnabled":true,"enableNewTagCreationWarning":true,"insertSpaceAfterNameTabCompletion":false,"id":1,"cookieDomain":".stackoverflow.com","childUrl":"https://web.archive.org/web/20230306155558/https://meta.stackoverflow.com","negativeVoteScoreFloor":null,"enableSocialMediaInSharePopup":true,"protocol":"https"},"user":{"fkey":"046c469d7424fabfb43b3cea8db600e74ca8f04ba4d38397f5b408c6dfc52f29","tid":"3a7b3d86-7982-8e0e-f566-6d472a249038","rep":0,"isAnonymous":true,"isAnonymousNetworkWide":true},"events":{"postType":{"question":1},"postEditionSection":{"title":1,"body":2,"tags":3}}}}</script> <script type="application/json" data-role="module-args" data-module-name="Shared/settings.mod">{"settings":{"userMessaging":{"showNewFeatureNotice":true},"tags":{},"subscriptions":{"defaultBasicMaxTrueUpSeats":250,"defaultFreemiumMaxTrueUpSeats":50,"defaultMaxTrueUpSeats":1000},"snippets":{"renderDomain":"stacksnippets.net","snippetsEnabled":true},"site":{"allowImageUploads":true,"enableImgurHttps":true,"enableUserHovercards":true,"forceHttpsImages":true,"stacksEditorPreviewEnabled":true,"styleCode":true},"questions":{"enableQuestionTitleLengthLiveWarning":true,"enableSavesFeature":true,"maxTitleSize":150,"questionTitleLengthStartLiveWarningChars":50},"intercom":{"appId":"inf0secd","hostBaseUrl":"https://web.archive.org/web/20230306155558/https://stacksnippets.net"},"paths":{"jQueryUICSSPath":"https://web.archive.org/web/20230306155558/https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/smoothness/jquery-ui.css","jQueryUIJSPath":"https://web.archive.org/web/20230306155558/https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js"},"monitoring":{"clientTimingsAbsoluteTimeout":30000,"clientTimingsDebounceTimeout":1000},"mentions":{"maxNumUsersInDropdown":50},"markdown":{"enableTables":true},"legal":{"oneTrustConfigId":"c3d9f1e3-55f3-4eba-b268-46cee4c6789c"},"flags":{"allowRetractingCommentFlags":true,"allowRetractingFlags":true},"elections":{"opaVoteResultsBaseUrl":"https://web.archive.org/web/20230306155558/https://www.opavote.com/results/"},"comments":{},"accounts":{"currentPasswordRequiredForChangingStackIdPassword":true}}}</script> <script>StackExchange.init();</script> <script> StackExchange.using.setCacheBreakers({"Js/adops.en.js":"6da43f5e0a84","Js/ask.en.js":"","Js/begin-edit-event.en.js":"20edbaccceae","Js/copy-transpiled.en.js":"e7855bee94f2","Js/events.en.js":"","Js/explore-qlist.en.js":"2b1f34938b8b","Js/full-anon.en.js":"6a00afec4f5e","Js/full.en.js":"c8909108cd52","Js/highlightjs-loader.en.js":"a284064706b3","Js/inline-tag-editing.en.js":"629d801833ec","Js/keyboard-shortcuts.en.js":"4cb9eae35625","Js/markdown-it-loader.en.js":"5818ef89ff9d","Js/mentions-transpiled.en.js":"78637d7eac99","Js/moderator.en.js":"d88c424a0972","Js/postCollections-transpiled.en.js":"fac92aa0ceeb","Js/post-validation.en.js":"6da722d510e3","Js/question-editor.en.js":"","Js/review-v2-transpiled.en.js":"ae1e01b7e8cb","Js/revisions.en.js":"a86490719687","Js/stacks-editor.en.js":"4eaa25f823da","Js/tageditor.en.js":"e5db6df2411b","Js/tageditornew.en.js":"c4fc98223de1","Js/tagsuggestions.en.js":"0d912930b14c","Js/unlimited-transpiled.en.js":"7ed67670b600","Js/wmd.en.js":"67025ccb344d","Js/snippet-javascript-codemirror.en.js":"73fce5cc7219"}); StackExchange.using("gps", function() { StackExchange.gps.init(false); }); </script> <noscript id="noscript-css"><style>body,.s-topbar{margin-top:1.9em}</style></noscript> </head> <body class="tagged-questions-page unified-theme"> <div id="notify-container"></div> <div id="custom-header"></div> <header class="s-topbar ps-fixed t0 l0 js-top-bar"> <div class="s-topbar--container"> <a href="#" class="s-topbar--menu-btn js-left-sidebar-toggle" role="menuitem" aria-haspopup="true" aria-controls="left-sidebar" aria-expanded="false"><span></span></a> <div class="topbar-dialog leftnav-dialog js-leftnav-dialog dno"> <div class="left-sidebar js-unpinned-left-sidebar" data-can-be="left-sidebar" data-is-here-when="sm"></div> </div> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/" class="s-topbar--logo js-gps-track" data-gps-track="top_nav.click({is_current:false, location:5, destination:8})"> <span class="-img _glyph">Stack Overflow</span> </a> <ol class="s-navigation" role="presentation"> <li class="md:d-none"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/" class="s-navigation--item js-gps-track" data-gps-track="top_nav.products.click({location:5, destination:7})" data-ga="["top navigation","about menu click",null,null,null]">About</a> </li> <li> <a href="#" class="s-navigation--item js-gps-track js-products-menu" aria-controls="products-popover" data-controller="s-popover" data-action="s-popover#toggle" data-s-popover-placement="bottom" data-s-popover-toggle-class="is-selected" data-gps-track="top_nav.products.click({location:5, destination:1})" data-ga="["top navigation","products menu click",null,null,null]"> Products </a> </li> <li class="md:d-none"> <a href="/web/20230306155558/https://stackoverflow.com/teams" class="s-navigation--item js-gps-track" data-gps-track="top_nav.products.click({location:5, destination:7})" data-ga="["top navigation","learn more - teams",null,null,null]">For Teams</a> </li> </ol> <div class="s-popover ws2 mtn2 p0" id="products-popover" role="menu" aria-hidden="true"> <div class="s-popover--arrow"></div> <ol class="list-reset s-anchors s-anchors__inherit"> <li class="m6"> <a href="/web/20230306155558/https://stackoverflow.com/questions" class="bar-sm p6 d-block h:bg-black-100 js-gps-track" data-gps-track="top_nav.products.click({location:5, destination:2})" data-ga="["top navigation","public qa submenu click",null,null,null]"> <span class="fs-body1 d-block">Stack Overflow</span> <span class="fs-caption d-block fc-light">Public questions & answers</span> </a> </li> <li class="m6"> <a href="/web/20230306155558/https://stackoverflow.com/teams" class="bar-sm p6 d-block h:bg-black-100 js-gps-track" data-gps-track="top_nav.products.click({location:5, destination:3})" data-ga="["top navigation","teams submenu click",null,null,null]"> <span class="fs-body1 d-block">Stack Overflow for Teams</span> <span class="fs-caption d-block fc-light">Where developers & technologists share private knowledge with coworkers</span> </a> </li> <li class="m6"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/talent" class="bar-sm p6 d-block h:bg-black-100 js-gps-track" data-gps-track="top_nav.products.click({location:5, destination:5})" data-ga="["top navigation","talent submenu click",null,null,null]"> <span class="fs-body1 d-block">Talent</span> <span class="fs-caption d-block fc-light"> Build your employer brand </span> </a> </li> <li class="m6"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/advertising" class="bar-sm p6 d-block h:bg-black-100 js-gps-track" data-gps-track="top_nav.products.click({location:5, destination:6})" data-ga="["top navigation","advertising submenu click",null,null,null]"> <span class="fs-body1 d-block">Advertising</span> <span class="fs-caption d-block fc-light">Reach developers & technologists worldwide</span> </a> </li> <li class="bg-black-025 bt bc-black-075 py6 px6 bbr-md"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/" class="fc-light d-block py6 px6 h:fc-black-800 js-gps-track" data-gps-track="top_nav.products.click({location:5, destination:7})" data-ga="["top navigation","about submenu click",null,null,null]">About the company</a> </li> </ol> </div> <form id="search" role="search" action="/web/20230306155558/https://stackoverflow.com/search" class="s-topbar--searchbar js-searchbar " autocomplete="off"> <div class="s-topbar--searchbar--input-group"> <input name="q" type="text" role="combobox" placeholder="Search…" value="[c]" autocomplete="off" maxlength="240" class="s-input s-input__search js-search-field " aria-label="Search" aria-controls="top-search" data-controller="s-popover" data-action="focus->s-popover#show" data-s-popover-placement="bottom-start"/> <svg aria-hidden="true" class="s-input-icon s-input-icon__search svg-icon iconSearch" width="18" height="18" viewbox="0 0 18 18"><path d="m18 16.5-5.14-5.18h-.35a7 7 0 1 0-1.19 1.19v.35L16.5 18l1.5-1.5ZM12 7A5 5 0 1 1 2 7a5 5 0 0 1 10 0Z"/></svg> <div class="s-popover p0 wmx100 wmn4 sm:wmn-initial js-top-search-popover" id="top-search" role="menu"> <div class="s-popover--arrow"></div> <div class="js-spinner p24 d-flex ai-center jc-center d-none"> <div class="s-spinner s-spinner__sm fc-orange-400"> <div class="v-visible-sr">Loading…</div> </div> </div> <span class="v-visible-sr js-screen-reader-info"></span> <div class="js-ac-results overflow-y-auto hmx3 d-none"></div> <div class="js-search-hints" aria-describedby="Tips for searching"></div> </div> </div> </form> <nav class="h100 ml-auto overflow-x-auto pr12"> <ol class="s-topbar--content" role="menubar"> <li class="js-topbar-dialog-corral" role="presentation"> <div class="topbar-dialog siteSwitcher-dialog dno" role="menu"> <div class="header fw-wrap"> <h3 class="flex--item"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/">current community</a> </h3> <div class="flex--item fl1"> <div class="ai-center d-flex jc-end"> <button class="js-close-button s-btn s-btn__muted p0 ml8 d-none sm:d-block" type="button" aria-label="Close"> <svg aria-hidden="true" class="svg-icon iconClear" width="18" height="18" viewbox="0 0 18 18"><path d="M15 4.41 13.59 3 9 7.59 4.41 3 3 4.41 7.59 9 3 13.59 4.41 15 9 10.41 13.59 15 15 13.59 10.41 9 15 4.41Z"/></svg> </button> </div> </div> </div> <div class="modal-content bg-powder-050 current-site-container"> <ul class="current-site "> <li class="d-flex"> <div class="fl1"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/" class="current-site-link site-link js-gps-track d-flex gs8 gsx" data-id="1" data-gps-track="site_switcher.click({ item_type:3 })"> <div class="favicon favicon-stackoverflow site-icon flex--item" title="Stack Overflow"></div> <span class="flex--item fl1"> Stack Overflow </span> </a> </div> <div class="related-links"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/help" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:14 })">help</a> <a href="https://web.archive.org/web/20230306155558/https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:6 })">chat</a> </div> </li> <li class="related-site d-flex"> <div class="L-shaped-icon-container"> <span class="L-shaped-icon"></span> </div> <a href="https://web.archive.org/web/20230306155558/https://meta.stackoverflow.com/" class=" site-link js-gps-track d-flex gs8 gsx" data-id="552" data-gps-track="site.switch({ target_site:552, item_type:3 }),site_switcher.click({ item_type:4 })"> <div class="favicon favicon-stackoverflowmeta site-icon flex--item" title="Meta Stack Overflow"></div> <span class="flex--item fl1"> Meta Stack Overflow </span> </a> </li> </ul> </div> <div class="header" id="your-communities-header"> <h3> your communities </h3> </div> <div class="modal-content" id="your-communities-section"> <div class="call-to-login"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fc" class="login-link js-gps-track" data-gps-track="site_switcher.click({ item_type:10 })">Sign up</a> or <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fc" class="login-link js-gps-track" data-gps-track="site_switcher.click({ item_type:11 })">log in</a> to customize your list. </div> </div> <div class="header"> <h3><a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/sites">more stack exchange communities</a> </h3> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.blog/" class="float-right">company blog</a> </div> <div class="modal-content"> <div class="child-content"></div> </div> </div> </li> <li role="none"><button class="s-topbar--item s-btn s-btn__icon s-btn__muted d-none sm:d-inline-flex js-searchbar-trigger" role="menuitem" aria-label="Search" aria-haspopup="true" aria-controls="search" title="Click to show search"><svg aria-hidden="true" class="svg-icon iconSearch" width="18" height="18" viewbox="0 0 18 18"><path d="m18 16.5-5.14-5.18h-.35a7 7 0 1 0-1.19 1.19v.35L16.5 18l1.5-1.5ZM12 7A5 5 0 1 1 2 7a5 5 0 0 1 10 0Z"/></svg></button></li> <li role="none"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fc" class="s-topbar--item s-topbar--item__unset s-btn s-btn__filled ws-nowrap js-gps-track" role="menuitem" rel="nofollow" data-gps-track="login.click" data-ga="["top navigation","login button click",null,null,null]">Log in</a> </li> <li role="none"><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2ftagged%2fc" class="s-topbar--item s-topbar--item__unset ml4 s-btn s-btn__primary ws-nowrap" role="menuitem" rel="nofollow" data-ga="["sign up","Sign Up Navigation","Header",null,null]">Sign up</a></li> </ol> </nav> </div> </header> <script> StackExchange.ready(function () { StackExchange.topbar.init(); }); StackExchange.scrollPadding.setPaddingTop(50, 10); </script> <div class="container"> <div id="left-sidebar" data-is-here-when="md lg" class="left-sidebar js-pinned-left-sidebar ps-relative"> <div class="left-sidebar--sticky-container js-sticky-leftnav"> <nav role="navigation"> <ol class="nav-links"> <li class="ps-relative" aria-current="false"> <a href="/web/20230306155558/https://stackoverflow.com/" class="pl8 js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current: false, location:5, destination:8})" aria-controls="" data-controller="" data-s-popover-placement="right" aria-current="false" data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never"> <div class="d-flex ai-center"> <div class="flex--item truncate"> Home </div> </div> </a> </li> <li> <ol class="nav-links"> <li class="fs-fine tt-uppercase ml8 mt16 mb4 fc-light">Public</li> <li class="ps-relative youarehere" aria-current="true"> <a id="nav-questions" href="/web/20230306155558/https://stackoverflow.com/questions" class="pl8 js-gps-track nav-links--link -link__with-icon" data-gps-track="top_nav.click({is_current: true, location:5, destination:1})" aria-controls="" data-controller="" data-s-popover-placement="right" aria-current="false" data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never"> <svg aria-hidden="true" class="svg-icon iconGlobe" width="18" height="18" viewbox="0 0 18 18"><path d="M9 1C4.64 1 1 4.64 1 9c0 4.36 3.64 8 8 8 4.36 0 8-3.64 8-8 0-4.36-3.64-8-8-8ZM8 15.32a6.46 6.46 0 0 1-4.3-2.74 6.46 6.46 0 0 1-.93-5.01L7 11.68v.8c0 .88.12 1.32 1 1.32v1.52Zm5.72-2c-.2-.66-1-1.32-1.72-1.32h-1v-2c0-.44-.56-1-1-1H6V7h1c.44 0 1-.56 1-1V5h2c.88 0 1.4-.72 1.4-1.6v-.33a6.45 6.45 0 0 1 3.83 4.51 6.45 6.45 0 0 1-1.51 5.73v.01Z"/></svg> <span class="-link--channel-name">Questions</span> </a> </li> <li class="ps-relative" aria-current="false"> <a id="nav-tags" href="/web/20230306155558/https://stackoverflow.com/tags" class=" js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current: false, location:5, destination:2})" aria-controls="" data-controller="" data-s-popover-placement="right" aria-current="false" data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never"> <div class="d-flex ai-center"> <div class="flex--item truncate"> Tags </div> </div> </a> </li> <li class="ps-relative" aria-current="false"> <a id="nav-users" href="/web/20230306155558/https://stackoverflow.com/users" class=" js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current: false, location:5, destination:3})" aria-controls="" data-controller="" data-s-popover-placement="right" aria-current="false" data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never"> <div class="d-flex ai-center"> <div class="flex--item truncate"> Users </div> </div> </a> </li> <li class="ps-relative" aria-current="false"> <a id="nav-companies" href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav" class=" js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current: false, location:5, destination:12})" aria-controls="" data-controller="" data-s-popover-placement="right" aria-current="false" data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never"> <div class="d-flex ai-center"> <div class="flex--item truncate"> Companies </div> </div> </a> </li> <li class="ml8 mt16"> <div class="d-flex jc-space-between fl-grow1"> <div class="flex--item tt-uppercase tt-uppercase fs-fine fc-light">Collectives</div> <div class="flex--item fs-fine fc-light"> <a href="javascript:void(0)" class="s-link p12 fc-black-500 h:fc-black-800 js-gps-track js-collectives-navcta-toggle" role="button" aria-controls="popover-discover-collectives" data-controller="s-popover" data-action="s-popover#toggle" data-s-popover-placement="top" data-s-popover-toggle-class="is-selected" data-gps-track="top_nav.click({is_current:false, location:5, destination:17})"> <svg aria-hidden="true" class="svg-icon iconInfoSm" width="14" height="14" viewbox="0 0 14 14"><path d="M7 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Zm1 10V6H6v5h2Zm0-6V3H6v2h2Z"/></svg> </a> </div> </div> </li> <li class="ps-relative" aria-current="false"> <a id="nav-collective-discover" href="/web/20230306155558/https://stackoverflow.com/collectives" class="pl8 ai-center js-collectives-navcta-toggle js-gps-track nav-links--link -link__with-icon" data-gps-track="top_nav.click({is_current: false, location:5, destination:18})" aria-controls="" data-controller="" data-s-popover-placement="right" aria-current="false" data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never"> <svg aria-hidden="true" class="mt-auto fc-orange-400 svg-icon iconStarVerified" width="18" height="18" viewbox="0 0 18 18"><path d="M9.86.89a1.14 1.14 0 0 0-1.72 0l-.5.58c-.3.35-.79.48-1.23.33l-.72-.25a1.14 1.14 0 0 0-1.49.85l-.14.76c-.1.45-.45.8-.9.9l-.76.14c-.67.14-1.08.83-.85 1.49l.25.72c.15.44.02.92-.33 1.23l-.58.5a1.14 1.14 0 0 0 0 1.72l.58.5c.35.3.48.79.33 1.23l-.25.72c-.23.66.18 1.35.85 1.49l.76.14c.45.1.8.45.9.9l.14.76c.14.67.83 1.08 1.49.85l.72-.25c.44-.15.92-.02 1.23.33l.5.58c.46.52 1.26.52 1.72 0l.5-.58c.3-.35.79-.48 1.23-.33l.72.25c.66.23 1.35-.18 1.49-.85l.14-.76c.1-.45.45-.8.9-.9l.76-.14c.67-.14 1.08-.83.85-1.49l-.25-.72c-.15-.44-.02-.92.33-1.23l.58-.5c.52-.46.52-1.26 0-1.72l-.58-.5c-.35-.3-.48-.79-.33-1.23l.25-.72a1.14 1.14 0 0 0-.85-1.49l-.76-.14c-.45-.1-.8-.45-.9-.9l-.14-.76a1.14 1.14 0 0 0-1.49-.85l-.72.25c-.44.15-.92.02-1.23-.33l-.5-.58Zm-.49 2.67L10.6 6.6c.05.15.19.24.34.25l3.26.22c.36.03.5.48.23.71l-2.5 2.1a.4.4 0 0 0-.14.4l.8 3.16a.4.4 0 0 1-.6.44L9.2 12.13a.4.4 0 0 0-.42 0l-2.77 1.74a.4.4 0 0 1-.6-.44l.8-3.16a.4.4 0 0 0-.13-.4l-2.5-2.1a.4.4 0 0 1 .22-.7l3.26-.23a.4.4 0 0 0 .34-.25l1.22-3.03a.4.4 0 0 1 .74 0Z"/></svg> <span class="-link--channel-name">Explore Collectives</span> </a> </li> </ol> </li> <li> <ol class="nav-links"> <li class="js-freemium-cta ps-relative"> <div class="fs-fine tt-uppercase ml8 mt16 mb8 fc-light">Teams</div> <div class="bt bl bb bc-black-075 p12 pb6 fc-black-600 blr-sm overflow-hidden"> <strong class="fc-black-750 mb6">Stack Overflow for Teams</strong> – Start collaborating and sharing organizational knowledge. <img class="wmx100 mx-auto my8 h-auto d-block" width="139" height="114" src="https://web.archive.org/web/20230306155558im_/https://cdn.sstatic.net/Img/teams/teams-illo-free-sidebar-promo.svg?v=47faa659a05e" alt=""> <a href="https://web.archive.org/web/20230306155558/https://try.stackoverflow.co/why-teams/?utm_source=so-owned&utm_medium=side-bar&utm_campaign=campaign-38&utm_content=cta" class="w100 s-btn s-btn__primary s-btn__xs bg-orange-400 js-gps-track" data-gps-track="teams.create.left-sidenav.click({ Action: 6 })" data-ga="["teams left navigation - anonymous","left nav free cta","stackoverflow.com/teams/create/free",null,null]">Create a free Team</a> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/teams" class="w100 s-btn s-btn__muted s-btn__xs js-gps-track" data-gps-track="teams.create.left-sidenav.click({ Action: 5 })" data-ga="["teams left navigation - anonymous","left nav free cta","stackoverflow.com/teams",null,null]">Why Teams?</a> </div> </li> <li class="d-flex ai-center jc-space-between ml8 mt24 mb4 js-create-team-cta d-none"> <div class="flex--item tt-uppercase fs-fine fc-light">Teams</div> <div class="flex--item"> <a href="javascript:void(0)" class="s-link p12 fc-black-500 h:fc-black-800 js-gps-track" role="button" aria-controls="popover-teams-create-cta" data-controller="s-popover" data-action="s-popover#toggle" data-s-popover-placement="bottom-start" data-s-popover-toggle-class="is-selected" data-gps-track="teams.create.left-sidenav.click({ Action: ShowInfo })" data-ga="["teams left navigation - anonymous","left nav show teams info",null,null,null]"> <svg aria-hidden="true" class="svg-icon iconInfoSm" width="14" height="14" viewbox="0 0 14 14"><path d="M7 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Zm1 10V6H6v5h2Zm0-6V3H6v2h2Z"/></svg> </a> </div> </li> <li class="ps-relative js-create-team-cta d-none"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflowteams.com/teams/create/free?utm_source=so-owned&utm_medium=side-bar&utm_campaign=campaign-38&utm_content=cta" class="pl8 js-gps-track nav-links--link" title="Stack Overflow for Teams is a private, secure spot for your organization's questions and answers." data-gps-track="teams.create.left-sidenav.click({ Action: FreemiumTeamsCreateClick })" data-ga="["teams left navigation - anonymous","left nav team click","stackoverflow.com/teams/create/free",null,null]"> <div class="d-flex ai-center"> <div class="flex--item s-avatar va-middle bg-orange-400"> <div class="s-avatar--letter mtn1"> <svg aria-hidden="true" class="svg-icon iconBriefcaseSm" width="14" height="14" viewbox="0 0 14 14"><path d="M4 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1h.5c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5h-7A1.5 1.5 0 0 1 2 10.5v-5C2 4.67 2.67 4 3.5 4H4V3Zm5 1V3H5v1h4Z"/></svg> </div> <svg aria-hidden="true" class="native s-avatar--badge svg-icon iconShieldXSm" width="9" height="10" viewbox="0 0 9 10"><path fill="var(--white)" d="M0 1.84 4.5 0 9 1.84v3.17C9 7.53 6.3 10 4.5 10 2.7 10 0 7.53 0 5.01V1.84Z"/><path fill="var(--black-500)" d="M1 2.5 4.5 1 8 2.5v2.51C8 7.34 5.34 9 4.5 9 3.65 9 1 7.34 1 5.01V2.5Zm2.98 3.02L3.2 7h2.6l-.78-1.48a.4.4 0 0 1 .15-.38c.34-.24.73-.7.73-1.14 0-.71-.5-1.23-1.41-1.23-.92 0-1.39.52-1.39 1.23 0 .44.4.9.73 1.14.12.08.18.23.15.38Z"/></svg> </div> <div class="flex--item pl6"> Create free Team </div> </div> </a> </li> </ol> </li> </ol> </nav> </div> <div class="s-popover ws2" id="popover-discover-collectives" role="menu"> <div class="s-popover--arrow"></div> <div> <svg aria-hidden="true" class="fc-orange-500 float-right ml24 svg-spot spotCollective" width="48" height="48" viewbox="0 0 48 48"><path d="M25.5 7a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM14 18.25c0-.69.56-1.25 1.25-1.25h22.5c.69 0 1.25.56 1.25 1.25V37.5a1 1 0 0 1-1.6.8l-4.07-3.05a1.25 1.25 0 0 0-.75-.25H15.25c-.69 0-1.25-.56-1.25-1.25v-15.5ZM7 24.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM25.5 48a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM48 24.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z" opacity=".2"/><path d="M21 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM24.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM0 23.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM3.5 22a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM21 44.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Zm3.5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm20-23a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7ZM43 23.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm-23.23-3.14a1 1 0 0 1-.13 1.4l-2.08 1.74 2.08 1.73a1 1 0 1 1-1.28 1.54l-2.42-2.02a1.63 1.63 0 0 1 0-2.5l2.42-2.02a1 1 0 0 1 1.4.13Zm7.59 1.41a1 1 0 1 1 1.28-1.54l2.42 2.02c.78.65.78 1.85 0 2.5l-2.42 2.02a1 1 0 1 1-1.28-1.54l2.08-1.73-2.08-1.73ZM24.12 18a1 1 0 0 1 .87 1.12l-1 8a1 1 0 1 1-1.98-.24l1-8a1 1 0 0 1 1.11-.87Zm-11.87-5C11.01 13 10 14 10 15.25v15.5c0 1.24 1 2.25 2.25 2.25h17.33c.06 0 .11.02.15.05l4.07 3.05a2 2 0 0 0 3.2-1.6V15.25c0-1.24-1-2.25-2.25-2.25h-22.5ZM12 15.25c0-.14.11-.25.25-.25h22.5c.14 0 .25.11.25.25V34.5l-4.07-3.05a2.2 2.2 0 0 0-1.35-.45H12.25a.25.25 0 0 1-.25-.25v-15.5Zm7.24-10.68a1 1 0 1 0-.48-1.94A22.04 22.04 0 0 0 2.91 17.7a1 1 0 1 0 1.92.58 20.04 20.04 0 0 1 14.4-13.72Zm11.05-1.66a1 1 0 0 0-.58 1.92c6.45 1.92 11.54 7 13.46 13.46a1 1 0 1 0 1.92-.58 22.05 22.05 0 0 0-14.8-14.8ZM4.57 28.76a1 1 0 0 0-1.94.48 22.03 22.03 0 0 0 16.13 16.13 1 1 0 1 0 .48-1.94A20.03 20.03 0 0 1 4.57 28.76Zm40.8.48a1 1 0 1 0-1.94-.48 20.04 20.04 0 0 1-13.72 14.41 1 1 0 0 0 .58 1.92 22.04 22.04 0 0 0 15.08-15.85Z"/></svg> <h5 class="pt4 fw-bold">Collectives™ on Stack Overflow</h5> <p class="my16 fs-caption fc-medium">Find centralized, trusted content and collaborate around the technologies you use most.</p> <a href="/web/20230306155558/https://stackoverflow.com/collectives" class="js-gps-track s-btn s-btn__primary s-btn__xs" data-gps-track="top_nav.click({is_current:false, location:5, destination:18})"> Learn more about Collectives </a> </div> </div> <div class="s-popover ws2" id="popover-teams-create-cta" role="menu" aria-hidden="true"> <div class="s-popover--arrow"></div> <div class="ps-relative overflow-hidden"> <p class="mb2"><strong>Teams</strong></p> <p class="mb12 fs-caption fc-black-400">Q&A for work</p> <p class="mb12 fs-caption fc-medium">Connect and share knowledge within a single location that is structured and easy to search.</p> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/teams" class="js-gps-track s-btn s-btn__primary s-btn__xs" data-gps-track="teams.create.left-sidenav.click({ Action: CtaClick })" data-ga="["teams left navigation - anonymous","left nav cta","stackoverflow.com/teams",null,null]"> Learn more about Teams </a> </div> <div class="ps-absolute t8 r8"> <svg aria-hidden="true" class="fc-orange-500 svg-spot spotPeople" width="48" height="48" viewbox="0 0 48 48"><path d="M13.5 28a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM7 30a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v5h11v-5a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v10a2 2 0 0 1-2 2H33v5a1 1 0 0 1-1 1H20a1 1 0 0 1-1-1v-5H8a1 1 0 0 1-1-1V30Zm25-6.5a4.5 4.5 0 1 0 9 0 4.5 4.5 0 0 0-9 0ZM24.5 34a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z" opacity=".2"/><path d="M16.4 26.08A6 6 0 1 0 7.53 26C5.64 26.06 4 27.52 4 29.45V40a1 1 0 0 0 1 1h9a1 1 0 1 0 0-2h-4v-7a1 1 0 1 0-2 0v7H6v-9.55c0-.73.67-1.45 1.64-1.45H16a1 1 0 0 0 .4-1.92ZM12 18a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm16.47 14a6 6 0 1 0-8.94 0A3.6 3.6 0 0 0 16 35.5V46a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V35.5c0-1.94-1.64-3.42-3.53-3.5ZM20 28a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm-.3 6h8.6c1 0 1.7.75 1.7 1.5V45h-2v-7a1 1 0 1 0-2 0v7h-4v-7a1 1 0 1 0-2 0v7h-2v-9.5c0-.75.7-1.5 1.7-1.5ZM42 22c0 1.54-.58 2.94-1.53 4A3.5 3.5 0 0 1 44 29.45V40a1 1 0 0 1-1 1h-9a1 1 0 1 1 0-2h4v-7a1 1 0 1 1 2 0v7h2v-9.55A1.5 1.5 0 0 0 40.48 28H32a1 1 0 0 1-.4-1.92A6 6 0 1 1 42 22Zm-2 0a4 4 0 1 0-8 0 4 4 0 0 0 8 0Z"/><g opacity=".35"><path d="M17 10a1 1 0 011-1h12a1 1 0 110 2H18a1 1 0 01-1-1Zm1-5a1 1 0 100 2h12a1 1 0 100-2H18ZM14 1a1 1 0 00-1 1v12a1 1 0 001 1h5.09l4.2 4.2a1 1 0 001.46-.04l3.7-4.16H34a1 1 0 001-1V2a1 1 0 00-1-1H14Zm1 12V3h18v10h-5a1 1 0 00-.75.34l-3.3 3.7-3.74-3.75a1 1 0 00-.71-.29H15Z"/></g></svg> </div> </div> </div> <div id="content" class="snippet-hidden"> <div id="mainbar"> <div class="d-flex"> <div class="d-flex fl1 mb24"> <h1 class="flex--item fs-headline1 mb0"> Questions tagged [c] </h1> </div> <div class="ml12 aside-cta flex--item print:d-none"> <a href="/web/20230306155558/https://stackoverflow.com/questions/ask" class="ws-nowrap s-btn s-btn__primary"> Ask Question </a> </div> </div> <style> </style> <div class="js-zone-container zone-container-main"> <div id="dfp-tag" class="everyonelovesstackoverflow everyoneloves__tag-sponsorship theme-light__forced bg-white"></div> <div class="js-report-ad-button-container " style="width: 728px"></div> </div> <div class="mb24"> <p> C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform. This tag should be used with general questions concerning the C language, as defined in the ISO 9899 standard (the latest version, 9899:2018, unless otherwise specified — also tag version-specific requests with c89, c99, c11, etc). C is distinct from C++ and it should not be combined with the C++ tag without a specific reason. </p> <div class=" d-flex gs12 jc-space-between ai-center fw-wrap"> <div class="flex--item"> <ul class="d-flex gs12 list-ls-none fw-wrap"> <li class="flex--item"> <a title="Tag wiki" href="/web/20230306155558/https://stackoverflow.com/tags/c/info">Learn more…</a> </li> <li class="flex--item"> <a title="Top answerers and askers in this tag" href="/web/20230306155558/https://stackoverflow.com/tags/c/topusers">Top users</a> </li> <li class="flex--item"> <a title="Common, alternate spellings or phrasings for this tag" href="/web/20230306155558/https://stackoverflow.com/tags/c/synonyms">Synonyms</a> </li> </ul> </div> </div> </div> <script type="application/json" data-role="module-args" data-module-name="entry-points/questions/userQuestionList.mod">{"regularTagsString":"","moderatorTagsString":""}</script> <script defer src="https://web.archive.org/web/20230306155558js_/https://cdn.sstatic.net/Js/questions/userQuestionList.en.js?v=9e054838afaa"></script> <div data-controller="se-uql" data-se-uql-id="" data-se-uql-sanitize-tag-query="false"> <div class="d-flex ai-center jc-space-between mb12 sm:fd-column sm:ai-stretch"> <div class="fs-body3 flex--item fl1 mr12 sm:mr0 sm:mb12"> 393,946 questions </div> <div class="uql-nav flex--item" data-action="se-uql-list:edit-current-requested@document->se-uql#toggleEditor"> <div class="d-flex ai-center jc-space-between"> <div class="js-uql-navigation s-btn-group flex--item mr16 ff-row-nowrap"> <a class="s-btn s-btn__muted s-btn__outlined s-btn__sm d-flex is-selected" data-nav-value="Newest" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Newest" data-shortcut="N" aria-current="page"> <div class="flex--item">Newest</div> </a> <a class="s-btn s-btn__muted s-btn__outlined s-btn__sm d-flex" data-nav-value="Active" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Active" data-shortcut="A"> <div class="flex--item">Active</div> </a> <a class="s-btn s-btn__muted s-btn__outlined s-btn__sm d-flex uql-nav--expanded-item" data-nav-value="Bounties" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Bounties" data-shortcut="E"> <div class="flex--item">Bountied</div> <div class="s-badge s-badge__bounty s-badge__bounty s-badge__sm lh-xs ml4 px4 flex--item">5</div> </a> <a class="s-btn s-btn__muted s-btn__outlined s-btn__sm d-flex uql-nav--expanded-item" data-nav-value="Unanswered" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Unanswered" data-shortcut="U"> <div class="flex--item">Unanswered</div> </a> <button class="s-btn s-btn__muted s-btn__outlined s-btn__sm s-btn__dropdown" role="button" data-controller="s-popover" data-action="s-popover#toggle" data-se-uql-target="toggleMoreButton" aria-haspopup="true" aria-expanded="false" aria-controls="uql-more-popover"> More </button> </div> <div class="s-popover z-dropdown ws2 px0 py4" id="uql-more-popover" data-se-uql-target="morePopover"> <div class="s-popover--arrow"></div> <ul class="s-menu js-uql-navigation" role="menu"> <li class=" uql-nav--collapsed-item" role="menuitem"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Bounties" class="s-block-link s-block-link__left" data-shortcut=""> Bountied <span class="s-badge s-badge__bounty s-badge__bounty s-badge__sm lh-xs px4">5</span> </a> </li> <li class=" uql-nav--collapsed-item" role="menuitem"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Unanswered" class="s-block-link s-block-link__left" data-shortcut=""> Unanswered </a> </li> <li role="menuitem"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Frequent" class="s-block-link s-block-link__left" data-shortcut="F"> Frequent </a> </li> <li role="menuitem"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=Votes" class="s-block-link s-block-link__left" data-shortcut="V"> Score </a> </li> <li class="s-menu--divider" role="separator"></li> <li role="menuitem"> <span class="s-block-link c-default fc-black-350">Unanswered (my tags)</span> </li> </ul> </div> <div class="flex--item"> <button class="s-btn s-btn__filled s-btn__sm s-btn__icon ws-nowrap" role="button" data-controller="s-expandable-control" data-s-expandable-control-toggle-class="is-selected" data-se-uql-target="toggleFormButton" aria-expanded="false" aria-controls="uql-form"> <svg aria-hidden="true" class="svg-icon iconFilter" width="18" height="18" viewbox="0 0 18 18"><path d="M2 4h14v2H2V4Zm2 4h10v2H4V8Zm8 4H6v2h6v-2Z"/></svg> Filter </button> </div> </div> </div> </div> <form class="s-expandable ps-relative z-active" id="uql-form" data-se-uql-target="form" data-action="se-uql#navigate"> <input name="uqlId" type="hidden"/> <div class="s-expandable--content"> <div class="bg-black-050 ba bc-black-100 bar-sm mb16"> <div class="px12 py16"> <div class="d-flex gs32 fw-wrap"> <div class="flex--item"> <fieldset class="d-flex gs8 gsy fd-column"> <legend class="flex--item s-label px0">Filter by</legend> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-checkbox d-block" type="checkbox" name="filterId" value="NoAnswers" id="0bcf27af-58f5-4d95-88c3-4844fa93247b"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="0bcf27af-58f5-4d95-88c3-4844fa93247b" id="7606cdc2-69e8-4622-9b21-2f9c2b420838">No answers</label> </div> </div> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-checkbox d-block" type="checkbox" name="filterId" value="NoAcceptedAnswer" id="f8ec91ce-f9d1-4420-8738-61e2c3b7aea1"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="f8ec91ce-f9d1-4420-8738-61e2c3b7aea1" id="87984191-fb46-4a3b-8ebe-b8a6d7721663">No accepted answer</label> </div> </div> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-checkbox d-block" type="checkbox" name="filterId" value="Bounty" id="3723b30e-a0c8-499b-a3e3-5e7df63611da"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="3723b30e-a0c8-499b-a3e3-5e7df63611da" id="665efab4-49e3-40e3-9979-140a017e0a80">Has bounty</label> </div> </div> </fieldset> </div> <div class="flex--item"> <fieldset class="d-flex gs8 gsy fd-column"> <legend class="flex--item s-label px0">Sorted by</legend> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-radio d-block" type="radio" name="sortId" value="Newest" checked="checked" id="709b2d85-1afe-4a2e-9582-29c1abf611e0"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="709b2d85-1afe-4a2e-9582-29c1abf611e0" id="17bea350-c336-4bb1-b616-d545e5262fe0">Newest</label> </div> </div> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-radio d-block" type="radio" name="sortId" value="RecentActivity" id="7cbcdc33-f2ef-4551-9452-2e7b00536bb0"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="7cbcdc33-f2ef-4551-9452-2e7b00536bb0" id="aea83234-0e7b-4eaa-8c81-e0c3d2137e6b">Recent activity</label> </div> </div> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-radio d-block" type="radio" name="sortId" value="MostVotes" id="51092807-50c7-475f-b81b-1b0a61dfd8e8"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="51092807-50c7-475f-b81b-1b0a61dfd8e8" id="a32da63d-5022-4271-8f42-a42ff90b81a8">Highest score</label> </div> </div> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-radio d-block" type="radio" name="sortId" value="MostFrequent" id="0446b5e7-4212-4c6e-9ef9-fad654c34d37"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="0446b5e7-4212-4c6e-9ef9-fad654c34d37" id="a0006db8-5f45-4cb4-b041-76736f29620e">Most frequent</label> </div> </div> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-radio d-block" type="radio" name="sortId" value="BountyEndingSoon" id="18415da6-8dd4-4b98-84f0-83b79093e1aa"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="18415da6-8dd4-4b98-84f0-83b79093e1aa" id="ce6c0225-e40c-44bd-8a7a-a4a2b4bd769b">Bounty ending soon</label> </div> </div> </fieldset> </div> <div class="flex--item"> <fieldset class="d-flex gs8 gsy fd-column"> <legend class="flex--item s-label px0">Tagged with</legend> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-radio d-block" type="radio" name="tagModeId" value="Watched" id="9d9eb285-0feb-4bca-b627-c14bd812c67f"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="9d9eb285-0feb-4bca-b627-c14bd812c67f" id="03d23ced-32cb-4365-bdc2-5481e000e273">My watched tags</label> </div> </div> <div class="flex--item"> <div class="d-flex gs4 gsx ai-center"> <div class="flex--item"> <input class="s-radio d-block" type="radio" name="tagModeId" value="Specified" checked="checked" id="97bc8cff-5a0f-4ef7-bd86-caff672bc3e9"/> </div> <label class="flex--item s-label fw-normal ws-nowrap" for="97bc8cff-5a0f-4ef7-bd86-caff672bc3e9" id="75ae44ba-b221-4e67-999d-efe21cc54d97">The following tags:</label> </div> </div> </fieldset> <div class="ps-relative ml24 mt8 ws2"> <input id="uql-modal-tag-input" class="w100 s-input" name="tagQuery" data-se-uql-target="tagQuery" type="text" size="60" tabindex="0" aria-labelledby="75ae44ba-b221-4e67-999d-efe21cc54d97" placeholder="e.g. javascript or python" value="c"> </div> </div> </div> </div> <div class="p12 bt bc-black-100"> <div class="d-flex"> <div class="d-flex gs4 gsx fl1"> <button class="s-btn s-btn__sm s-btn__primary flex--item" type="submit" data-se-uql-target="applyButton">Apply filter</button> </div> <div class="flex--item"> <button class="s-btn s-btn__sm" data-action="se-uql#cancelEditor" type="button">Cancel</button> </div> </div> </div> </div> </div> </form> </div> <div id="questions" class=" flush-left"> <div id="question-summary-75652895" class="s-post-summary js-post-summary" data-post-id="75652895" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="10 views"> <span class="s-post-summary--stats-item-number">10</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75652895/data-structure-padding-in-64bit-processor" class="s-link">data structure padding in 64bit processor</a> </h3> <div class="s-post-summary--content-excerpt"> ` struct abc { int x; int y; char a; char b; }; int main(){ struct abc test; printf("%d",sizeof(test)); } ` the output of my ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-data-structures t-padding"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/data-structures" class="post-tag flex--item mt0 js-tagname-data-structures" title="show questions tagged 'data-structures'" aria-label="show questions tagged 'data-structures'" rel="tag" aria-labelledby="tag-data-structures-tooltip-container">data-structures</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/padding" class="post-tag flex--item mt0 js-tagname-padding" title="show questions tagged 'padding'" aria-label="show questions tagged 'padding'" rel="tag" aria-labelledby="tag-padding-tooltip-container">padding</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21214872/anas" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21214872"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/5e021e6a8d7f49de41736afea51d219a?s=32&d=identicon&r=PG" alt="anas's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21214872/anas" class="flex--item">anas</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">23</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 15:44:00Z" class="relativetime">11 mins ago</span></time> </div> </div> </div> </div> <div id="question-summary-75652794" class="s-post-summary js-post-summary" data-post-id="75652794" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="5 views"> <span class="s-post-summary--stats-item-number">5</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75652794/how-to-install-valgrind-program-on-vscode-using-macos" class="s-link">How to install valgrind program on vscode using macOS</a> </h3> <div class="s-post-summary--content-excerpt"> Im trying to install valgrind on vscode and i dont know what extensions i need to download. I tried to run valgrind on a file to check for memory error but it tells me the command valgrind is not ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-visual-studio-code t-valgrind"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/visual-studio-code" class="post-tag flex--item mt0 js-tagname-visual-studio-code" title="show questions tagged 'visual-studio-code'" aria-label="show questions tagged 'visual-studio-code'" rel="tag" aria-labelledby="tag-visual-studio-code-tooltip-container">visual-studio-code</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/valgrind" class="post-tag flex--item mt0 js-tagname-valgrind" title="show questions tagged 'valgrind'" aria-label="show questions tagged 'valgrind'" rel="tag" aria-labelledby="tag-valgrind-tooltip-container">valgrind</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21313304/andy" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21313304"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/4fde1a62f428038946783496c332a66b?s=32&d=identicon&r=PG" alt="Andy's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21313304/andy" class="flex--item">Andy</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 15:35:22Z" class="relativetime">20 mins ago</span></time> </div> </div> </div> </div> <div id="question-summary-75652241" class="s-post-summary js-post-summary" data-post-id="75652241" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -1"> <span class="s-post-summary--stats-item-number">-1</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="16 views"> <span class="s-post-summary--stats-item-number">16</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75652241/playing-videos-in-sdl1-2-for-game-cutscenes" class="s-link">playing videos in sdl1.2 for game cutscenes [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> i have a project to make a game in sdl1.2 and want to display some videos for cutscenes and/ or intros but I have no idea how to do it. the programming language is c. i have looked for solutions ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-video t-sdl-1û2"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/video" class="post-tag flex--item mt0 js-tagname-video" title="show questions tagged 'video'" aria-label="show questions tagged 'video'" rel="tag" aria-labelledby="tag-video-tooltip-container">video</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/sdl-1.2" class="post-tag flex--item mt0 js-tagname-sdl-1û2" title="show questions tagged 'sdl-1.2'" aria-label="show questions tagged 'sdl-1.2'" rel="tag" aria-labelledby="tag-sdl-1.2-tooltip-container">sdl-1.2</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20295853/ayoub-hmani" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20295853"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/ALm5wu0f6J3rZjMTZ_-D_biFfLgh0r8BMZ2y5ALpm-BH=k-s32" alt="ayoub hmani's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20295853/ayoub-hmani" class="flex--item">ayoub hmani</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 14:47:51Z" class="relativetime">1 hour ago</span></time> </div> </div> </div> </div> <div id="question-summary-75651571" class="s-post-summary js-post-summary" data-post-id="75651571" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -1"> <span class="s-post-summary--stats-item-number">-1</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="14 views"> <span class="s-post-summary--stats-item-number">14</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75651571/error-while-publishing-on-mqtt-broker-using-esp32" class="s-link">Error while publishing on MQTT broker using ESP32 [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> I'm trying to publish data on an MQTT broker, Data is published successfully but the problem is that the ESP32 replies with an ERROR then MQTTPUB:OK. I tried to fix the length of the data and the ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-embedded t-mqtt t-esp32 t-zephyr-rtos"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/embedded" class="post-tag flex--item mt0 js-tagname-embedded" title="show questions tagged 'embedded'" aria-label="show questions tagged 'embedded'" rel="tag" aria-labelledby="tag-embedded-tooltip-container">embedded</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/mqtt" class="post-tag flex--item mt0 js-tagname-mqtt" title="show questions tagged 'mqtt'" aria-label="show questions tagged 'mqtt'" rel="tag" aria-labelledby="tag-mqtt-tooltip-container">mqtt</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/esp32" class="post-tag flex--item mt0 js-tagname-esp32" title="show questions tagged 'esp32'" aria-label="show questions tagged 'esp32'" rel="tag" aria-labelledby="tag-esp32-tooltip-container">esp32</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/zephyr-rtos" class="post-tag flex--item mt0 js-tagname-zephyr-rtos" title="show questions tagged 'zephyr-rtos'" aria-label="show questions tagged 'zephyr-rtos'" rel="tag" aria-labelledby="tag-zephyr-rtos-tooltip-container">zephyr-rtos</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21342596/andrew-a" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21342596"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/d81f881681562aedac38b59ded0b65f6?s=32&d=identicon&r=PG" alt="Andrew A's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21342596/andrew-a" class="flex--item">Andrew A</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 13:41:10Z" class="relativetime">2 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75651382" class="s-post-summary js-post-summary" data-post-id="75651382" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -5"> <span class="s-post-summary--stats-item-number">-5</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="38 views"> <span class="s-post-summary--stats-item-number">38</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75651382/declared-function-in-c" class="s-link">Declared function in C [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> I'm trying to write code to demonstrate fork() and excel() and the system calls. I need help writing the code. Can you help me with the correction code, please? </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21342438/james" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21342438"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/30334d440964854c7f889576597e7849?s=32&d=identicon&r=PG" alt="james 's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21342438/james" class="flex--item">james </a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 13:22:13Z" class="relativetime">2 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75651376" class="s-post-summary js-post-summary" data-post-id="75651376" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -5"> <span class="s-post-summary--stats-item-number">-5</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="69 views"> <span class="s-post-summary--stats-item-number">69</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75651376/how-do-i-make-the-words-hello-and-world-separate" class="s-link">How do I make the words hello and world separate? [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> enter image description here I want the words hello and world to be separated. This is input #@!+&&+&&@!+$+ $@!!$+$!!&&@!+&& Now I'm stuck in a problem but it doesn't ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21342328/exol" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21342328"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/AGNmyxb2nvUTwkx6obg3ZHbHore4Q_Do5jfJSTzOzzzWkQ=k-s32" alt="EXOL's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21342328/exol" class="flex--item">EXOL</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">11</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 13:21:27Z" class="relativetime">2 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75650925" class="s-post-summary js-post-summary" data-post-id="75650925" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="99 views"> <span class="s-post-summary--stats-item-number">99</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75650925/how-is-that-pandas-is-faster-than-pure-c" class="s-link">How is that pandas is faster than pure C?</a> </h3> <div class="s-post-summary--content-excerpt"> I have an nparray of x,y pairs with shape (n,2), and knowing for certain that for each x there are multiple values of y , I wanted to calculate the average value of y for each unique x. It occurred to ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-python t-c t-pandas t-performance t-ctypes"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/python" class="post-tag flex--item mt0 js-tagname-python" title="show questions tagged 'python'" aria-label="show questions tagged 'python'" rel="tag" aria-labelledby="tag-python-tooltip-container">python</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/pandas" class="post-tag flex--item mt0 js-tagname-pandas" title="show questions tagged 'pandas'" aria-label="show questions tagged 'pandas'" rel="tag" aria-labelledby="tag-pandas-tooltip-container">pandas</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/performance" class="post-tag flex--item mt0 js-tagname-performance" title="show questions tagged 'performance'" aria-label="show questions tagged 'performance'" rel="tag" aria-labelledby="tag-performance-tooltip-container">performance</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/ctypes" class="post-tag flex--item mt0 js-tagname-ctypes" title="show questions tagged 'ctypes'" aria-label="show questions tagged 'ctypes'" rel="tag" aria-labelledby="tag-ctypes-tooltip-container">ctypes</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/12976010/ark1375" class="s-avatar s-avatar__16 s-user-card--avatar js-user-hover-target" data-user-id="12976010"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://i.stack.imgur.com/qTTLt.png?s=32&g=1" alt="ARK1375's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/12976010/ark1375" class="flex--item">ARK1375</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">765</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 12:35:33Z" class="relativetime">3 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75650728" class="s-post-summary js-post-summary" data-post-id="75650728" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="62 views"> <span class="s-post-summary--stats-item-number">62</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75650728/what-mistake-am-i-doing-in-finding-out-array-index-percentages-in-c" class="s-link">what mistake am I doing in finding out Array Index Percentages in C</a> </h3> <div class="s-post-summary--content-excerpt"> Here's the question given: An array is a container object that holds a fixed number of values of a single type. In this challenge, create an array 'A' of size of 6, and read the values from stdin. ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-arrays t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/arrays" class="post-tag flex--item mt0 js-tagname-arrays" title="show questions tagged 'arrays'" aria-label="show questions tagged 'arrays'" rel="tag" aria-labelledby="tag-arrays-tooltip-container">arrays</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/16344395/mithra" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="16344395"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a-/AOh14GgTkMXPF5O6xvR_vngFhMEpdz3e7Jfv4681oCZx=k-s32" alt="MITHRA 's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/16344395/mithra" class="flex--item">MITHRA </a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 12:16:00Z" class="relativetime">3 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75650676" class="s-post-summary js-post-summary" data-post-id="75650676" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -4"> <span class="s-post-summary--stats-item-number">-4</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="30 views"> <span class="s-post-summary--stats-item-number">30</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75650676/i-have-a-bug-related-c-programming-i-entered-a-if-else-function-but-in-output-t" class="s-link">I have a bug related c programming. I entered a if/else function but in output there are just else function can print [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> enter image description here 1st image enter image description here 2nd image enter image description here 3rd image in the above image, I provide my code output: enter image description here please ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21341933/rohan-gangawane" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21341933"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/AGNmyxbmcut7ghN5yf9OVhZDPnXtdrZK8mkAhFmw2xf6=k-s32" alt="Rohan Gangawane's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21341933/rohan-gangawane" class="flex--item">Rohan Gangawane</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 12:08:48Z" class="relativetime">3 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649985" class="s-post-summary js-post-summary" data-post-id="75649985" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="30 views"> <span class="s-post-summary--stats-item-number">30</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649985/how-to-browse-a-c-source-file" class="s-link">how to browse a c source file [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> My prof ask us to write a program to generate symbole table of declarations for a c source file using only linked list and abstrait machine , I have some questions: First, how I can insert a c source ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-project"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/project" class="post-tag flex--item mt0 js-tagname-project" title="show questions tagged 'project'" aria-label="show questions tagged 'project'" rel="tag" aria-labelledby="tag-project-tooltip-container">project</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/19597858/wissal" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="19597858"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/ff54f98ae12d394789f01d114028193a?s=32&d=identicon&r=PG" alt="wissal's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/19597858/wissal" class="flex--item">wissal</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 10:58:27Z" class="relativetime">4 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649967" class="s-post-summary js-post-summary" data-post-id="75649967" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="22 views"> <span class="s-post-summary--stats-item-number">22</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649967/sendto-function-doesnt-send-packets" class="s-link">Sendto function doesn't send packets</a> </h3> <div class="s-post-summary--content-excerpt"> I'm trying to send raw packets using the Sendto function in c with ipv4 and tcp headers that I provide on my own, but for some reason my code doesn't send the packets. I think my problem might be on ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-windows t-networking t-winsock2 t-raw-sockets"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/windows" class="post-tag flex--item mt0 js-tagname-windows" title="show questions tagged 'windows'" aria-label="show questions tagged 'windows'" rel="tag" aria-labelledby="tag-windows-tooltip-container">windows</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/networking" class="post-tag flex--item mt0 js-tagname-networking" title="show questions tagged 'networking'" aria-label="show questions tagged 'networking'" rel="tag" aria-labelledby="tag-networking-tooltip-container">networking</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/winsock2" class="post-tag flex--item mt0 js-tagname-winsock2" title="show questions tagged 'winsock2'" aria-label="show questions tagged 'winsock2'" rel="tag" aria-labelledby="tag-winsock2-tooltip-container">winsock2</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/raw-sockets" class="post-tag flex--item mt0 js-tagname-raw-sockets" title="show questions tagged 'raw-sockets'" aria-label="show questions tagged 'raw-sockets'" rel="tag" aria-labelledby="tag-raw-sockets-tooltip-container">raw-sockets</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/12536394/guy-dror" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="12536394"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/-emEnP4El6xI/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3reec3TXMKyLOw4bJkM3bLUP5Nd_pg/photo.jpg?sz=32" alt="Guy Dror's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/12536394/guy-dror" class="flex--item">Guy Dror</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 10:56:59Z" class="relativetime">4 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649835" class="s-post-summary js-post-summary" data-post-id="75649835" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -1"> <span class="s-post-summary--stats-item-number">-1</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="41 views"> <span class="s-post-summary--stats-item-number">41</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649835/i-am-trying-to-use-double-pointers-and-am-unable-to-link-them-here-is-the-examp" class="s-link">I am trying to use double pointers and am unable to link them. here is the example,</a> </h3> <div class="s-post-summary--content-excerpt"> In C programming, #include <stdio.h> int main() { /* POINTER TO POINTER*/ int d; int *k; int **p; d=12;/* this is the value of our variable d*/ k=&d; /*we have assigned our pointer a # to ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-pointers"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/pointers" class="post-tag flex--item mt0 js-tagname-pointers" title="show questions tagged 'pointers'" aria-label="show questions tagged 'pointers'" rel="tag" aria-labelledby="tag-pointers-tooltip-container">pointers</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21182387/kimaningigi" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21182387"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/2e4fe94bf01da97ef303dc21bcf579fc?s=32&d=identicon&r=PG" alt="kimaningigi's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21182387/kimaningigi" class="flex--item">kimaningigi</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 10:44:13Z" class="relativetime">5 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649681" class="s-post-summary js-post-summary" data-post-id="75649681" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="46 views"> <span class="s-post-summary--stats-item-number">46</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649681/how-comes-that-my-isprime-functions-only-works-with-sqrt-instead-of-n-n" class="s-link">How comes that my IsPrime functions only works with sqrt() instead of n * n? [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> This is my IsPrime function. I dont want to use libm so I thought I can get the squareroot of n by n * n. So if I hand 17 to IsPrime it returns false if I use the line with n * n but if I use sqrt(17) ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-primes t-prime-factoring"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/primes" class="post-tag flex--item mt0 js-tagname-primes" title="show questions tagged 'primes'" aria-label="show questions tagged 'primes'" rel="tag" aria-labelledby="tag-primes-tooltip-container">primes</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/prime-factoring" class="post-tag flex--item mt0 js-tagname-prime-factoring" title="show questions tagged 'prime-factoring'" aria-label="show questions tagged 'prime-factoring'" rel="tag" aria-labelledby="tag-prime-factoring-tooltip-container">prime-factoring</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/12891981/mortytheshorty" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="12891981"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/5b746ee0d6574c40506d71060958ced6?s=32&d=identicon&r=PG&f=1" alt="mortytheshorty's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/12891981/mortytheshorty" class="flex--item">mortytheshorty</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">159</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 10:28:01Z" class="relativetime">5 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649607" class="s-post-summary js-post-summary" data-post-id="75649607" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="46 views"> <span class="s-post-summary--stats-item-number">46</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649607/why-cant-the-argc-variable-in-this-program-be-assigned-to-stack-top" class="s-link">Why can't the argc variable in this program be assigned to stack_top?</a> </h3> <div class="s-post-summary--content-excerpt"> I implemented a function to simulate load_arg in i386. When debugging with VSCode, I found that on the third last line of the function: *(size_t*)stack_top = argc; At the end of this line, argc was ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-debugging t-x86 t-gdb"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/debugging" class="post-tag flex--item mt0 js-tagname-debugging" title="show questions tagged 'debugging'" aria-label="show questions tagged 'debugging'" rel="tag" aria-labelledby="tag-debugging-tooltip-container">debugging</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/x86" class="post-tag flex--item mt0 js-tagname-x86" title="show questions tagged 'x86'" aria-label="show questions tagged 'x86'" rel="tag" aria-labelledby="tag-x86-tooltip-container">x86</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/gdb" class="post-tag flex--item mt0 js-tagname-gdb" title="show questions tagged 'gdb'" aria-label="show questions tagged 'gdb'" rel="tag" aria-labelledby="tag-gdb-tooltip-container">gdb</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/17611024/peter-harry" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="17611024"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/AATXAJzuQ8GmjWVEEEPsASXuM92wN8oYKJQKFg05OKWU=k-s32" alt="Peter Harry's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/17611024/peter-harry" class="flex--item">Peter Harry</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">23</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 10:21:47Z" class="relativetime">5 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649499" class="s-post-summary js-post-summary" data-post-id="75649499" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="37 views"> <span class="s-post-summary--stats-item-number">37</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649499/doesnt-get-segmentation-fault-even-when-accessing-the-memory-exceeding-what-mal" class="s-link">Doesn't get segmentation fault even when accessing the memory exceeding what malloc has allocated [duplicate]</a> </h3> <div class="s-post-summary--content-excerpt"> My doubt is simple, when I allocated memory using malloc in my c program. Mistakenly I used this syntax struct node { int data; int sat; int gau; struct node* ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-dynamic t-operating-system"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/dynamic" class="post-tag flex--item mt0 js-tagname-dynamic" title="show questions tagged 'dynamic'" aria-label="show questions tagged 'dynamic'" rel="tag" aria-labelledby="tag-dynamic-tooltip-container">dynamic</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/operating-system" class="post-tag flex--item mt0 js-tagname-operating-system" title="show questions tagged 'operating-system'" aria-label="show questions tagged 'operating-system'" rel="tag" aria-labelledby="tag-operating-system-tooltip-container">operating-system</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/16326730/roshan-bangar" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="16326730"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/-0VXBY0P14nA/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucnFNB2QLUHco7vYTYhD0riQuGMfmw/s96-c/photo.jpg?sz=32" alt="Roshan bangar's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/16326730/roshan-bangar" class="flex--item">Roshan bangar</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 10:11:02Z" class="relativetime">5 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649077" class="s-post-summary js-post-summary" data-post-id="75649077" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="21 views"> <span class="s-post-summary--stats-item-number">21</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649077/mysql-get-parameters-causes-worker-thread-to-freeze-what-could-be-wrong-mysq" class="s-link">mysql_get_parameters causes worker thread to freeze, what could be wrong?! [MYSQL C API] [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> My methods are pretty thread-safe per se, only the MySQL worker thread does SQL queries, and the queue is thread-safe. However, occasionally, MySQL just freezes upon sending a query... Tried to send a ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-cçç t-mysql t-c t-api"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c%2b%2b" class="post-tag flex--item mt0 js-tagname-cçç" title="show questions tagged 'c++'" aria-label="show questions tagged 'c++'" rel="tag" aria-labelledby="tag-c++-tooltip-container">c++</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/mysql" class="post-tag flex--item mt0 js-tagname-mysql" title="show questions tagged 'mysql'" aria-label="show questions tagged 'mysql'" rel="tag" aria-labelledby="tag-mysql-tooltip-container">mysql</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/api" class="post-tag flex--item mt0 js-tagname-api" title="show questions tagged 'api'" aria-label="show questions tagged 'api'" rel="tag" aria-labelledby="tag-api-tooltip-container">api</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20541708/zeronull" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20541708"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/ALm5wu3bDzoL6Tyr1iIoTZoNMV4WnjNezb-NCN2s-1GHyw=k-s32" alt="zeronull's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20541708/zeronull" class="flex--item">zeronull</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 09:27:49Z" class="relativetime">6 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75649000" class="s-post-summary js-post-summary" data-post-id="75649000" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers has-accepted-answer" title="one of the answers was accepted as the correct answer"> <svg aria-hidden="true" class="svg-icon iconCheckmarkSm" width="14" height="14" viewbox="0 0 14 14"><path d="M13 3.41 11.59 2 5 8.59 2.41 6 1 7.41l4 4 8-8Z"/></svg> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="28 views"> <span class="s-post-summary--stats-item-number">28</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75649000/stm32-external-source-files" class="s-link">STM32 External Source Files</a> </h3> <div class="s-post-summary--content-excerpt"> I am writing some C source code for STM32 in CubeIDE and am trying to separate source code that will be reused on multiple designs into an external library (an external as far as SVN is concerned). In ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-stm32 t-stm32cubeide"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/stm32" class="post-tag flex--item mt0 js-tagname-stm32" title="show questions tagged 'stm32'" aria-label="show questions tagged 'stm32'" rel="tag" aria-labelledby="tag-stm32-tooltip-container">stm32</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/stm32cubeide" class="post-tag flex--item mt0 js-tagname-stm32cubeide" title="show questions tagged 'stm32cubeide'" aria-label="show questions tagged 'stm32cubeide'" rel="tag" aria-labelledby="tag-stm32cubeide-tooltip-container">stm32cubeide</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20645966/elecdesigner" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20645966"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/cd249b5b516a5cbf8539cb93aad33336?s=32&d=identicon&r=PG" alt="ElecDesigner's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20645966/elecdesigner" class="flex--item">ElecDesigner</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">27</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 09:19:00Z" class="relativetime">6 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75648890" class="s-post-summary js-post-summary" data-post-id="75648890" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="18 views"> <span class="s-post-summary--stats-item-number">18</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75648890/gdb-in-qt-creator-common-condition-to-only-break-on-a-given-data-step" class="s-link">GDB in Qt Creator : common condition to only break on a given data-step</a> </h3> <div class="s-post-summary--content-excerpt"> I am working on and with a C & C++ app that is heavily step-based. In fact what it does is replay step-based recordings of some data and doing some processing on the data of every data-step. It ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-cçç t-c t-debugging t-gdb t-qt-creator"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c%2b%2b" class="post-tag flex--item mt0 js-tagname-cçç" title="show questions tagged 'c++'" aria-label="show questions tagged 'c++'" rel="tag" aria-labelledby="tag-c++-tooltip-container">c++</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/debugging" class="post-tag flex--item mt0 js-tagname-debugging" title="show questions tagged 'debugging'" aria-label="show questions tagged 'debugging'" rel="tag" aria-labelledby="tag-debugging-tooltip-container">debugging</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/gdb" class="post-tag flex--item mt0 js-tagname-gdb" title="show questions tagged 'gdb'" aria-label="show questions tagged 'gdb'" rel="tag" aria-labelledby="tag-gdb-tooltip-container">gdb</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/qt-creator" class="post-tag flex--item mt0 js-tagname-qt-creator" title="show questions tagged 'qt-creator'" aria-label="show questions tagged 'qt-creator'" rel="tag" aria-labelledby="tag-qt-creator-tooltip-container">qt-creator</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/1419127/charles" class="s-avatar s-avatar__16 s-user-card--avatar js-user-hover-target" data-user-id="1419127"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://i.stack.imgur.com/N9sv6.jpg?s=32&g=1" alt="Charles's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/1419127/charles" class="flex--item">Charles</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">918</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 09:07:50Z" class="relativetime">6 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75648482" class="s-post-summary js-post-summary" data-post-id="75648482" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="41 views"> <span class="s-post-summary--stats-item-number">41</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75648482/cs50-program-to-increase-and-decrease-volume-of-file" class="s-link">cs50 program to increase and decrease volume of file</a> </h3> <div class="s-post-summary--content-excerpt"> I have written this program for my Harvard cs50 project. It is increasing and decreasing volume of file input and then output result. I have cross-checked my code with other people solutions, and it ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-cs50"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/cs50" class="post-tag flex--item mt0 js-tagname-cs50" title="show questions tagged 'cs50'" aria-label="show questions tagged 'cs50'" rel="tag" aria-labelledby="tag-cs50-tooltip-container">cs50</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20622380/abdul" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20622380"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/227361312ab17c738fecf6b8d4dc1a31?s=32&d=identicon&r=PG" alt="abdul's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20622380/abdul" class="flex--item">abdul</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 08:17:49Z" class="relativetime">7 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75648155" class="s-post-summary js-post-summary" data-post-id="75648155" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="85 views"> <span class="s-post-summary--stats-item-number">85</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75648155/weird-typedef-declaration" class="s-link">Weird typedef declaration</a> </h3> <div class="s-post-summary--content-excerpt"> I see a typedef declare in the /usr/include/png.h typedef void (PNGAPI *png_error_ptr) PNGARG((png_structp, png_const_charp)); I can't understand this declaration. Is this a function pointer return ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/5084014/wu-jacky" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="5084014"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/0db133e3225b94b1fb78a5b7e9221533?s=32&d=identicon&r=PG&f=1" alt="Wu Jacky's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/5084014/wu-jacky" class="flex--item">Wu Jacky</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">51</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 07:33:54Z" class="relativetime">8 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75647970" class="s-post-summary js-post-summary" data-post-id="75647970" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="35 views"> <span class="s-post-summary--stats-item-number">35</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75647970/compiler-migration5-to-6-19-warnings-in-c-diag-suppress-170" class="s-link">compiler migration(5 to 6.19) warnings in c, diag_suppress 170</a> </h3> <div class="s-post-summary--content-excerpt"> due to compiler migration the diag_suppress is not supported anymore in arm compiler 6v,hence need suggestion how to replace this : #pragma diag_suppress 170 what is 170 how to replace the same, ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21340283/vii-vii" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21340283"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/8e3bdbbbe1accfe4e848622239a35ebb?s=32&d=identicon&r=PG" alt="vii_vii's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21340283/vii-vii" class="flex--item">vii_vii</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 07:09:23Z" class="relativetime">8 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75647788" class="s-post-summary js-post-summary" data-post-id="75647788" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="68 views"> <span class="s-post-summary--stats-item-number">68</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75647788/if-memory-is-already-allocated-will-changes-made-in-the-array-inside-a-function" class="s-link">If memory is already allocated, will changes made in the array inside a function be preserved in the main or calling functions?</a> </h3> <div class="s-post-summary--content-excerpt"> In this function definition, I have taken arguments for address of 2 D array. void dynamic(int ***a,int r,int c) { *a = (int**)malloc(sizeof(int*)*r); for(int i=0;i<r;i++) { (*a)... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-arrays t-c t-pointers t-multidimensional-array t-pass-by-reference"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/arrays" class="post-tag flex--item mt0 js-tagname-arrays" title="show questions tagged 'arrays'" aria-label="show questions tagged 'arrays'" rel="tag" aria-labelledby="tag-arrays-tooltip-container">arrays</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/pointers" class="post-tag flex--item mt0 js-tagname-pointers" title="show questions tagged 'pointers'" aria-label="show questions tagged 'pointers'" rel="tag" aria-labelledby="tag-pointers-tooltip-container">pointers</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/multidimensional-array" class="post-tag flex--item mt0 js-tagname-multidimensional-array" title="show questions tagged 'multidimensional-array'" aria-label="show questions tagged 'multidimensional-array'" rel="tag" aria-labelledby="tag-multidimensional-array-tooltip-container">multidimensional-array</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/pass-by-reference" class="post-tag flex--item mt0 js-tagname-pass-by-reference" title="show questions tagged 'pass-by-reference'" aria-label="show questions tagged 'pass-by-reference'" rel="tag" aria-labelledby="tag-pass-by-reference-tooltip-container">pass-by-reference</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/16939137/pranav-vasishta" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="16939137"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/4f1a25e0c01b5729a2a19cb11f7228ed?s=32&d=identicon&r=PG&f=1" alt="Pranav Vasishta's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/16939137/pranav-vasishta" class="flex--item">Pranav Vasishta</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">17</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 06:44:56Z" class="relativetime">9 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75647460" class="s-post-summary js-post-summary" data-post-id="75647460" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="34 views"> <span class="s-post-summary--stats-item-number">34</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75647460/find-submatrixes-in-matrixes" class="s-link">find submatrixes in matrixes</a> </h3> <div class="s-post-summary--content-excerpt"> I'm trying to find sub-matrices in matrices. the initialization of the matrices works fine. i just couldn't find what the problem with the "find","matching","distance" ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-matrix"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/matrix" class="post-tag flex--item mt0 js-tagname-matrix" title="show questions tagged 'matrix'" aria-label="show questions tagged 'matrix'" rel="tag" aria-labelledby="tag-matrix-tooltip-container">matrix</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20306594/idos99" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20306594"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/c7f32c630cf81502d995dfce914a54b8?s=32&d=identicon&r=PG" alt="IdoS99's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20306594/idos99" class="flex--item">IdoS99</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">9</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 05:54:42Z" class="relativetime">10 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75647308" class="s-post-summary js-post-summary" data-post-id="75647308" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -1"> <span class="s-post-summary--stats-item-number">-1</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="60 views"> <span class="s-post-summary--stats-item-number">60</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75647308/trying-to-understand-reversing-a-string-in-c" class="s-link">Trying to understand reversing a string in C</a> </h3> <div class="s-post-summary--content-excerpt"> #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char userInput[256]; printf("Please enter string to be reversed: "); scanf("%s&... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20569156/cluelesscoder" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20569156"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/c1b8a20ca24365578afa1fd881d0041b?s=32&d=identicon&r=PG" alt="cluelessCoder's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20569156/cluelesscoder" class="flex--item">cluelessCoder</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 05:24:34Z" class="relativetime">10 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75647235" class="s-post-summary js-post-summary" data-post-id="75647235" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="25 views"> <span class="s-post-summary--stats-item-number">25</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75647235/how-can-i-make-a-function-in-c-language" class="s-link">how can I make a function in c language? [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> so I already have the code and it runs perfectly but the problem is I'm not using function (when I have to). I watched some yt tutorials but I just don't understand it. </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-function"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/function" class="post-tag flex--item mt0 js-tagname-function" title="show questions tagged 'function'" aria-label="show questions tagged 'function'" rel="tag" aria-labelledby="tag-function-tooltip-container">function</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20415475/historia" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20415475"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/ALm5wu2fyRVnzyMoNBzZuUIZ_xpVD57773jXXM_Z3phI=k-s32" alt="historia's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20415475/historia" class="flex--item">historia</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">21</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 05:08:32Z" class="relativetime">10 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75647204" class="s-post-summary js-post-summary" data-post-id="75647204" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="31 views"> <span class="s-post-summary--stats-item-number">31</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75647204/why-while-loop-function-cannot-run-and-print-function-cannot-be-run" class="s-link">why while loop function cannot run and print function cannot be run?</a> </h3> <div class="s-post-summary--content-excerpt"> #include <stdio.h> #include<stdlib.h> #include<assert.h> #include <stdbool.h> typedef struct node { int data; struct node *next; } NodeT; NodeT *makeNode(int v); void ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-while-loop t-linked-list"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/while-loop" class="post-tag flex--item mt0 js-tagname-while-loop" title="show questions tagged 'while-loop'" aria-label="show questions tagged 'while-loop'" rel="tag" aria-labelledby="tag-while-loop-tooltip-container">while-loop</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/linked-list" class="post-tag flex--item mt0 js-tagname-linked-list" title="show questions tagged 'linked-list'" aria-label="show questions tagged 'linked-list'" rel="tag" aria-labelledby="tag-linked-list-tooltip-container">linked-list</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338267/xzha-athena" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21338267"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/1bd0058edd2347e423b14938bb0e9374?s=32&d=identicon&r=PG" alt="xzha_athena's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338267/xzha-athena" class="flex--item">xzha_athena</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 05:01:52Z" class="relativetime">10 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75647108" class="s-post-summary js-post-summary" data-post-id="75647108" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -1"> <span class="s-post-summary--stats-item-number">-1</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers has-accepted-answer" title="one of the answers was accepted as the correct answer"> <svg aria-hidden="true" class="svg-icon iconCheckmarkSm" width="14" height="14" viewbox="0 0 14 14"><path d="M13 3.41 11.59 2 5 8.59 2.41 6 1 7.41l4 4 8-8Z"/></svg> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="40 views"> <span class="s-post-summary--stats-item-number">40</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75647108/program-to-copy-the-greater-than-and-lesser-than-30-integers-from-a-one-dimensio" class="s-link">Program to copy the greater than and lesser than 30 integers from a one-dimensional array to two three-dimensional arrays in c</a> </h3> <div class="s-post-summary--content-excerpt"> I'm trying to make a program allowing a user to input positive integers into a one-dimensional array size 12 and trap inputs less than 1. The program then copies integers with a value less than 30 ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-arrays t-c t-multidimensional-array"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/arrays" class="post-tag flex--item mt0 js-tagname-arrays" title="show questions tagged 'arrays'" aria-label="show questions tagged 'arrays'" rel="tag" aria-labelledby="tag-arrays-tooltip-container">arrays</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/multidimensional-array" class="post-tag flex--item mt0 js-tagname-multidimensional-array" title="show questions tagged 'multidimensional-array'" aria-label="show questions tagged 'multidimensional-array'" rel="tag" aria-labelledby="tag-multidimensional-array-tooltip-container">multidimensional-array</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20015720/thethirdreign" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20015720"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a-/AFdZucpf0Uwhtb9DHJxJWKLY-kLhoMvItr6CH_uuW2Sr=k-s32" alt="TheThirdReign's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20015720/thethirdreign" class="flex--item">TheThirdReign</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">13</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 04:40:18Z" class="relativetime">11 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646860" class="s-post-summary js-post-summary" data-post-id="75646860" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="74 views"> <span class="s-post-summary--stats-item-number">74</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646860/how-do-i-fix-segmentation-faultcore-dumped-in-c" class="s-link">How do I fix segmentation fault(core dumped) in C</a> </h3> <div class="s-post-summary--content-excerpt"> I am trying to implement the luhn's algorithm. I get the card number using get_long from the cs50 library and I put the digits in an array where I it pass to a checksum function. The program works ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-cs50"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/cs50" class="post-tag flex--item mt0 js-tagname-cs50" title="show questions tagged 'cs50'" aria-label="show questions tagged 'cs50'" rel="tag" aria-labelledby="tag-cs50-tooltip-container">cs50</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21308635/sylvester-adade" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21308635"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/2ed2d0cdfb7ac66dbfce383f16ddc0ee?s=32&d=identicon&r=PG" alt="Sylvester Adade's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21308635/sylvester-adade" class="flex--item">Sylvester Adade</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 03:35:28Z" class="relativetime">12 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646825" class="s-post-summary js-post-summary" data-post-id="75646825" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -2"> <span class="s-post-summary--stats-item-number">-2</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="34 views"> <span class="s-post-summary--stats-item-number">34</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646825/what-wrong-in-my-code-of-2d-array-by-taking-input-from-user-using-c" class="s-link">what wrong in my code of 2d array by taking input from user using c [duplicate]</a> </h3> <div class="s-post-summary--content-excerpt"> #include<stdio.h> int main() { int i,j,m,n; int a[m][n]; printf("enter the row of matrix:"); scanf("%d", &m); printf("enter the coloum of ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-arrays t-c t-matrix t-2d t-static-analysis"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/arrays" class="post-tag flex--item mt0 js-tagname-arrays" title="show questions tagged 'arrays'" aria-label="show questions tagged 'arrays'" rel="tag" aria-labelledby="tag-arrays-tooltip-container">arrays</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/matrix" class="post-tag flex--item mt0 js-tagname-matrix" title="show questions tagged 'matrix'" aria-label="show questions tagged 'matrix'" rel="tag" aria-labelledby="tag-matrix-tooltip-container">matrix</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/2d" class="post-tag flex--item mt0 js-tagname-2d" title="show questions tagged '2d'" aria-label="show questions tagged '2d'" rel="tag" aria-labelledby="tag-2d-tooltip-container">2d</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/static-analysis" class="post-tag flex--item mt0 js-tagname-static-analysis" title="show questions tagged 'static-analysis'" aria-label="show questions tagged 'static-analysis'" rel="tag" aria-labelledby="tag-static-analysis-tooltip-container">static-analysis</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20998365/neerajrawat" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20998365"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/9b794bb708dbbbfc42d49002bc2b5c59?s=32&d=identicon&r=PG" alt="neerajrawat's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20998365/neerajrawat" class="flex--item">neerajrawat</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 03:25:25Z" class="relativetime">12 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646533" class="s-post-summary js-post-summary" data-post-id="75646533" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="16 views"> <span class="s-post-summary--stats-item-number">16</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646533/how-to-select-and-resize-an-xlib-font" class="s-link">How to select and resize an Xlib font?</a> </h3> <div class="s-post-summary--content-excerpt"> I am making a cross-platform graphics library (please don't ask why I am re-inventing the wheel) and want to add something I thought was simple: changing the size of fonts. Before, my Expose event ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-fonts t-x11 t-xlib"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/fonts" class="post-tag flex--item mt0 js-tagname-fonts" title="show questions tagged 'fonts'" aria-label="show questions tagged 'fonts'" rel="tag" aria-labelledby="tag-fonts-tooltip-container">fonts</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/x11" class="post-tag flex--item mt0 js-tagname-x11" title="show questions tagged 'x11'" aria-label="show questions tagged 'x11'" rel="tag" aria-labelledby="tag-x11-tooltip-container">x11</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/xlib" class="post-tag flex--item mt0 js-tagname-xlib" title="show questions tagged 'xlib'" aria-label="show questions tagged 'xlib'" rel="tag" aria-labelledby="tag-xlib-tooltip-container">xlib</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/15204349/pixie" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="15204349"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/4979e020d5bd45b668c115c90c0efcb5?s=32&d=identicon&r=PG&f=1" alt="Pixie's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/15204349/pixie" class="flex--item">Pixie</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">11</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 02:09:25Z" class="relativetime">13 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646316" class="s-post-summary js-post-summary" data-post-id="75646316" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers has-accepted-answer" title="one of the answers was accepted as the correct answer"> <svg aria-hidden="true" class="svg-icon iconCheckmarkSm" width="14" height="14" viewbox="0 0 14 14"><path d="M13 3.41 11.59 2 5 8.59 2.41 6 1 7.41l4 4 8-8Z"/></svg> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="34 views"> <span class="s-post-summary--stats-item-number">34</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646316/cs50-readability-index-calculation-off" class="s-link">CS50 readability index calculation off</a> </h3> <div class="s-post-summary--content-excerpt"> I am trying to find the Colemen-Liau reading index based on number or letters, words, and sentences. When I plug in the sample text provided the letter, word, and sentence counts are correct but the ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-cs50"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/cs50" class="post-tag flex--item mt0 js-tagname-cs50" title="show questions tagged 'cs50'" aria-label="show questions tagged 'cs50'" rel="tag" aria-labelledby="tag-cs50-tooltip-container">cs50</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/15344690/msk" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="15344690"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/7dfc93fad308f2d18ade929899d2b928?s=32&d=identicon&r=PG&f=1" alt="MSK's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/15344690/msk" class="flex--item">MSK</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">5</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 00:59:43Z" class="relativetime">14 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646255" class="s-post-summary js-post-summary" data-post-id="75646255" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="61 views"> <span class="s-post-summary--stats-item-number">61</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646255/how-to-add-bitwise-masking-to-a-c-program" class="s-link">How to add bitwise masking to a C program</a> </h3> <div class="s-post-summary--content-excerpt"> For my assignment, I am required to put a mask onto a binary system, by which I mean that it needs to change whether the number is a 1 or 0 and flip it via an xor table. I am having trouble figuring ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338899/5d100" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21338899"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/AGNmyxYUYzA2FyYxHfQuMoTf6hOVkqCLoIF84TJDyC6X=k-s32" alt="5d100's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338899/5d100" class="flex--item">5d100</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 00:41:55Z" class="relativetime">15 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646218" class="s-post-summary js-post-summary" data-post-id="75646218" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -7"> <span class="s-post-summary--stats-item-number">-7</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="46 views"> <span class="s-post-summary--stats-item-number">46</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646218/while-loop-not-running-i-cant-see-whats-wrong" class="s-link">While loop not running, I can't see what's wrong [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> My code dosent seem to be using the while loop I have inputted. I have some code where the month selected by a user should be between 1 and 12, but if it isn't it should go into a while loop repeating ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338875/keziah-gillard" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21338875"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/AGNmyxYPyb0Bo1P9VzkMgYMLLqeU59-47WpUCgYw8M-y=k-s32" alt="Keziah Gillard's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338875/keziah-gillard" class="flex--item">Keziah Gillard</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 00:28:17Z" class="relativetime">15 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646203" class="s-post-summary js-post-summary" data-post-id="75646203" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="51 views"> <span class="s-post-summary--stats-item-number">51</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646203/strange-random-behavior-in-a-local-variable-of-a-function" class="s-link">Strange Random Behavior in a Local Variable of a Function</a> </h3> <div class="s-post-summary--content-excerpt"> I'm trying to write a program that finds the distance of an arbitrary amount of tugboats from a main ship and orders them from closest to furthest. This also involves removing tugboats that are deemd ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-function t-printf t-undefined-behavior t-garbage"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/function" class="post-tag flex--item mt0 js-tagname-function" title="show questions tagged 'function'" aria-label="show questions tagged 'function'" rel="tag" aria-labelledby="tag-function-tooltip-container">function</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/printf" class="post-tag flex--item mt0 js-tagname-printf" title="show questions tagged 'printf'" aria-label="show questions tagged 'printf'" rel="tag" aria-labelledby="tag-printf-tooltip-container">printf</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/undefined-behavior" class="post-tag flex--item mt0 js-tagname-undefined-behavior" title="show questions tagged 'undefined-behavior'" aria-label="show questions tagged 'undefined-behavior'" rel="tag" aria-labelledby="tag-undefined-behavior-tooltip-container">undefined-behavior</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/garbage" class="post-tag flex--item mt0 js-tagname-garbage" title="show questions tagged 'garbage'" aria-label="show questions tagged 'garbage'" rel="tag" aria-labelledby="tag-garbage-tooltip-container">garbage</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/9876633/c%cd%9d%cd%a1e%cd%a2%cc%b7pt%cc%a1%cc%95i%cc%b4%cd%98%cc%b8u%cd%9c%cd%a0%cd%9dm" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="9876633"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh6.googleusercontent.com/-C2moy-blihU/AAAAAAAAAAI/AAAAAAAAA5U/C7zoH7uJX0k/photo.jpg?sz=32" alt="C͝͡e̷͢pt̡̕i̴̸͘u͜͠͝m's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/9876633/c%cd%9d%cd%a1e%cd%a2%cc%b7pt%cc%a1%cc%95i%cc%b4%cd%98%cc%b8u%cd%9c%cd%a0%cd%9dm" class="flex--item">C͝͡e̷͢pt̡̕i̴̸͘u͜͠͝m</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">5</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-06 00:24:43Z" class="relativetime">15 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646038" class="s-post-summary js-post-summary" data-post-id="75646038" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="41 views"> <span class="s-post-summary--stats-item-number">41</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646038/how-to-debug-c-programs-with-args-in-vscode" class="s-link">How to debug C programs with args in vscode?</a> </h3> <div class="s-post-summary--content-excerpt"> I am trying to debug a C program with args, but the program runs without the args specified in launch.json. Vscode gives me the warning "Property args is not allowed" </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-visual-studio-code"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/visual-studio-code" class="post-tag flex--item mt0 js-tagname-visual-studio-code" title="show questions tagged 'visual-studio-code'" aria-label="show questions tagged 'visual-studio-code'" rel="tag" aria-labelledby="tag-visual-studio-code-tooltip-container">visual-studio-code</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/2014878/ben-alan" class="s-avatar s-avatar__16 s-user-card--avatar js-user-hover-target" data-user-id="2014878"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://i.stack.imgur.com/LUxuv.jpg?s=32&g=1" alt="Ben Alan's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/2014878/ben-alan" class="flex--item">Ben Alan</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1,441</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 23:38:21Z" class="relativetime">16 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75646032" class="s-post-summary js-post-summary" data-post-id="75646032" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 1"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">vote</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="19 views"> <span class="s-post-summary--stats-item-number">19</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75646032/issue-with-the-dequeue-function-in-the-custom-class" class="s-link">Issue with the dequeue function in the custom class</a> </h3> <div class="s-post-summary--content-excerpt"> I am building a RingBuffer class for my module. However, I am facing some issues with the dequeue function. When I enqueue/dequeue integers, everything is fine. When I enqueue a list, the first ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-python t-c t-cpython t-pyobject"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/python" class="post-tag flex--item mt0 js-tagname-python" title="show questions tagged 'python'" aria-label="show questions tagged 'python'" rel="tag" aria-labelledby="tag-python-tooltip-container">python</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/cpython" class="post-tag flex--item mt0 js-tagname-cpython" title="show questions tagged 'cpython'" aria-label="show questions tagged 'cpython'" rel="tag" aria-labelledby="tag-cpython-tooltip-container">cpython</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/pyobject" class="post-tag flex--item mt0 js-tagname-pyobject" title="show questions tagged 'pyobject'" aria-label="show questions tagged 'pyobject'" rel="tag" aria-labelledby="tag-pyobject-tooltip-container">pyobject</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/12688015/sekomer" class="s-avatar s-avatar__16 s-user-card--avatar js-user-hover-target" data-user-id="12688015"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://i.stack.imgur.com/XVLUr.jpg?s=32&g=1" alt="Sekomer's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/12688015/sekomer" class="flex--item">Sekomer</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">646</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 23:37:39Z" class="relativetime">16 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645980" class="s-post-summary js-post-summary" data-post-id="75645980" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="26 views"> <span class="s-post-summary--stats-item-number">26</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645980/can-i-use-socket-as-a-client-and-a-server-at-the-same-time" class="s-link">Can i use socket as a client and a server at the same time</a> </h3> <div class="s-post-summary--content-excerpt"> I have this school assignment, where i need to develop a program that basically creates a node in a tree, that communicates via TCP between node, and i have a question, can i use a single TCP socket ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-sockets t-tcp"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/sockets" class="post-tag flex--item mt0 js-tagname-sockets" title="show questions tagged 'sockets'" aria-label="show questions tagged 'sockets'" rel="tag" aria-labelledby="tag-sockets-tooltip-container">sockets</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/tcp" class="post-tag flex--item mt0 js-tagname-tcp" title="show questions tagged 'tcp'" aria-label="show questions tagged 'tcp'" rel="tag" aria-labelledby="tag-tcp-tooltip-container">tcp</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/19068115/andr%c3%a9-teixeira" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="19068115"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/55ea2f340086e329eacc4505c323ce80?s=32&d=identicon&r=PG" alt="André Teixeira's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/19068115/andr%c3%a9-teixeira" class="flex--item">André Teixeira</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">3</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 23:26:24Z" class="relativetime">16 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645841" class="s-post-summary js-post-summary" data-post-id="75645841" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="3 answers"> <span class="s-post-summary--stats-item-number">3</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="37 views"> <span class="s-post-summary--stats-item-number">37</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645841/segfault-help-please-tracking-frequency-of-unique-characters-in-a-string-and-st" class="s-link">Segfault help please: Tracking frequency of unique characters in a string and storing in array?</a> </h3> <div class="s-post-summary--content-excerpt"> it's me back at it again with a C question. This time I am trying to count the frequency of each character in a given string. Each unique character will be stored in a node structure and added to an ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-arrays t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/arrays" class="post-tag flex--item mt0 js-tagname-arrays" title="show questions tagged 'arrays'" aria-label="show questions tagged 'arrays'" rel="tag" aria-labelledby="tag-arrays-tooltip-container">arrays</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/19203068/renee-amos" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="19203068"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a-/AOh14Gi4Ou4aq8NTjXyvApYw9altkGEn-p1VVoQ2EbPXMQ=k-s32" alt="Renee Amos's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/19203068/renee-amos" class="flex--item">Renee Amos</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">3</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 22:52:15Z" class="relativetime">17 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645838" class="s-post-summary js-post-summary" data-post-id="75645838" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 1"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">vote</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="67 views"> <span class="s-post-summary--stats-item-number">67</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645838/multi-process-using-forks-in-c" class="s-link">multi-process using forks in C</a> </h3> <div class="s-post-summary--content-excerpt"> If i give like 15 lines in ips file, and 50k in combofile, at line 29k or above is getting stuck, is slowing down very hard and ending by beeing stuck, another program same thing is handling without ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-multithreading t-multiprocessing t-multiprocess"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/multithreading" class="post-tag flex--item mt0 js-tagname-multithreading" title="show questions tagged 'multithreading'" aria-label="show questions tagged 'multithreading'" rel="tag" aria-labelledby="tag-multithreading-tooltip-container">multithreading</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/multiprocessing" class="post-tag flex--item mt0 js-tagname-multiprocessing" title="show questions tagged 'multiprocessing'" aria-label="show questions tagged 'multiprocessing'" rel="tag" aria-labelledby="tag-multiprocessing-tooltip-container">multiprocessing</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/multiprocess" class="post-tag flex--item mt0 js-tagname-multiprocess" title="show questions tagged 'multiprocess'" aria-label="show questions tagged 'multiprocess'" rel="tag" aria-labelledby="tag-multiprocess-tooltip-container">multiprocess</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/11870901/kazakstan" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="11870901"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh5.googleusercontent.com/-rcVlQ2vjGX8/AAAAAAAAAAI/AAAAAAAAArw/QDA2vQh-PxE/photo.jpg?sz=32" alt="kazakstan's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/11870901/kazakstan" class="flex--item">kazakstan</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">11</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 22:51:57Z" class="relativetime">17 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645587" class="s-post-summary js-post-summary" data-post-id="75645587" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 2"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="46 views"> <span class="s-post-summary--stats-item-number">46</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645587/gcc-giving-implicit-declaration-warning-despite-function-existing" class="s-link">GCC giving implicit declaration warning despite function existing</a> </h3> <div class="s-post-summary--content-excerpt"> I'm getting the following compiler warning each time I try and compile an application I'm building: └─$ gcc -o svr2 common.h launch.c tools.c netops.c netops.c: In function ‘acceptClient’: netops.c:... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-gcc"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/gcc" class="post-tag flex--item mt0 js-tagname-gcc" title="show questions tagged 'gcc'" aria-label="show questions tagged 'gcc'" rel="tag" aria-labelledby="tag-gcc-tooltip-container">gcc</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/4787127/tyrone-1988" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="4787127"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://graph.facebook.com/10155400664180104/picture?type=large" alt="tyrone 1988's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/4787127/tyrone-1988" class="flex--item">tyrone 1988</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">321</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 21:52:38Z" class="relativetime">18 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645535" class="s-post-summary js-post-summary" data-post-id="75645535" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -1"> <span class="s-post-summary--stats-item-number">-1</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="47 views"> <span class="s-post-summary--stats-item-number">47</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645535/why-is-my-output-completely-different-because-of-a-simple-printf-command" class="s-link">Why is my output completely different because of a simple printf command?</a> </h3> <div class="s-post-summary--content-excerpt"> I was practicing recursion and i came up with this rather meaningless formula. I was inputting random numbers to check my code. After few tries code did not output anything so i assumed that there ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-function t-recursion"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/function" class="post-tag flex--item mt0 js-tagname-function" title="show questions tagged 'function'" aria-label="show questions tagged 'function'" rel="tag" aria-labelledby="tag-function-tooltip-container">function</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/recursion" class="post-tag flex--item mt0 js-tagname-recursion" title="show questions tagged 'recursion'" aria-label="show questions tagged 'recursion'" rel="tag" aria-labelledby="tag-recursion-tooltip-container">recursion</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20070807/razum276" class="s-avatar s-avatar__16 s-user-card--avatar js-user-hover-target" data-user-id="20070807"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://i.stack.imgur.com/7UgMc.png?s=32&g=1" alt="Razum276's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20070807/razum276" class="flex--item">Razum276</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 21:42:36Z" class="relativetime">18 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645303" class="s-post-summary js-post-summary" data-post-id="75645303" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="1 answer"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="32 views"> <span class="s-post-summary--stats-item-number">32</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645303/why-the-coding-cannot-print-showll-function" class="s-link">why the coding cannot print showLL function?</a> </h3> <div class="s-post-summary--content-excerpt"> #include <stdio.h> #include<stdlib.h> #include<assert.h> typedef struct node { int data; struct node *next; } NodeT; NodeT *makeNode(); NodeT *joinLL(); void showLL(); void ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-linked-list t-singly-linked-list t-undefined-behavior t-function-definition"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/linked-list" class="post-tag flex--item mt0 js-tagname-linked-list" title="show questions tagged 'linked-list'" aria-label="show questions tagged 'linked-list'" rel="tag" aria-labelledby="tag-linked-list-tooltip-container">linked-list</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/singly-linked-list" class="post-tag flex--item mt0 js-tagname-singly-linked-list" title="show questions tagged 'singly-linked-list'" aria-label="show questions tagged 'singly-linked-list'" rel="tag" aria-labelledby="tag-singly-linked-list-tooltip-container">singly-linked-list</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/undefined-behavior" class="post-tag flex--item mt0 js-tagname-undefined-behavior" title="show questions tagged 'undefined-behavior'" aria-label="show questions tagged 'undefined-behavior'" rel="tag" aria-labelledby="tag-undefined-behavior-tooltip-container">undefined-behavior</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/function-definition" class="post-tag flex--item mt0 js-tagname-function-definition" title="show questions tagged 'function-definition'" aria-label="show questions tagged 'function-definition'" rel="tag" aria-labelledby="tag-function-definition-tooltip-container">function-definition</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338267/xzha-athena" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21338267"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/1bd0058edd2347e423b14938bb0e9374?s=32&d=identicon&r=PG" alt="xzha_athena's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338267/xzha-athena" class="flex--item">xzha_athena</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 20:57:50Z" class="relativetime">18 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645237" class="s-post-summary js-post-summary" data-post-id="75645237" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="120 views"> <span class="s-post-summary--stats-item-number">120</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645237/the-program-has-no-syntax-error-however-no-result-comes-out" class="s-link">The program has no syntax error however no result comes out</a> </h3> <div class="s-post-summary--content-excerpt"> Here is the code: #include <stdio.h> #include <stdlib.h> int *dec2bin(int N, int *n); int *dec2bin(int N, int *n) { int l = 0; do { if (N % 2 == 0) { n[l] = 0;... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-function t-printf"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/function" class="post-tag flex--item mt0 js-tagname-function" title="show questions tagged 'function'" aria-label="show questions tagged 'function'" rel="tag" aria-labelledby="tag-function-tooltip-container">function</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/printf" class="post-tag flex--item mt0 js-tagname-printf" title="show questions tagged 'printf'" aria-label="show questions tagged 'printf'" rel="tag" aria-labelledby="tag-printf-tooltip-container">printf</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20594382/kilston" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20594382"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/e7d619e70f4e488b003f67e885c54196?s=32&d=identicon&r=PG" alt="kilston's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20594382/kilston" class="flex--item">kilston</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">19</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 20:45:56Z" class="relativetime">19 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75645067" class="s-post-summary js-post-summary" data-post-id="75645067" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="27 views"> <span class="s-post-summary--stats-item-number">27</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75645067/type-punning-pointers-via-union" class="s-link">Type punning pointers via union</a> </h3> <div class="s-post-summary--content-excerpt"> Can I use type punning with union members which are pointer to signed and unsigned versions of a type? For example, is the following usage of p.u guaranteed to work by the standard? void foo(unsigned *... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-unions t-type-punning"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/unions" class="post-tag flex--item mt0 js-tagname-unions" title="show questions tagged 'unions'" aria-label="show questions tagged 'unions'" rel="tag" aria-labelledby="tag-unions-tooltip-container">unions</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/type-punning" class="post-tag flex--item mt0 js-tagname-type-punning" title="show questions tagged 'type-punning'" aria-label="show questions tagged 'type-punning'" rel="tag" aria-labelledby="tag-type-punning-tooltip-container">type-punning</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/515212/martinkunev" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="515212"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://i.stack.imgur.com/th8Br.png?s=32&g=1" alt="martinkunev's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/515212/martinkunev" class="flex--item">martinkunev</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1,334</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 20:14:41Z" class="relativetime">19 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75644925" class="s-post-summary js-post-summary" data-post-id="75644925" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of -5"> <span class="s-post-summary--stats-item-number">-5</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers has-accepted-answer" title="one of the answers was accepted as the correct answer"> <svg aria-hidden="true" class="svg-icon iconCheckmarkSm" width="14" height="14" viewbox="0 0 14 14"><path d="M13 3.41 11.59 2 5 8.59 2.41 6 1 7.41l4 4 8-8Z"/></svg> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="61 views"> <span class="s-post-summary--stats-item-number">61</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75644925/code-generates-text-file-but-the-file-is-empty" class="s-link">Code generates text file but the file is empty</a> </h3> <div class="s-post-summary--content-excerpt"> I wrote a code that writes a dictionary of passwords, but it doesn't write on the .txt file The code generates a text file, then it writes all posibilities of passwords using the charset that I define,... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/19157086/gabriel-garcia" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="19157086"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a-/AOh14GiyRvPKc2skRnNw2MS4t1a6y2C-tzZ4EB7zu3HDIL0=k-s32" alt="Gabriel Garcia's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/19157086/gabriel-garcia" class="flex--item">Gabriel Garcia</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">3</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 19:47:32Z" class="relativetime">20 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75644876" class="s-post-summary js-post-summary" data-post-id="75644876" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="32 views"> <span class="s-post-summary--stats-item-number">32</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75644876/questions-about-empty-arrays-will-print-999-999-in-c" class="s-link">questions about empty arrays will print -999 -999 in C [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> I have a question, a subset with empty set will be printed as -999 but my code doesn't work in that case this is my code in c language : #include <stdio.h> void print_subset(int arr[], int n) { ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-arrays t-c"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/arrays" class="post-tag flex--item mt0 js-tagname-arrays" title="show questions tagged 'arrays'" aria-label="show questions tagged 'arrays'" rel="tag" aria-labelledby="tag-arrays-tooltip-container">arrays</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338011/the-midnight-time" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21338011"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a/AGNmyxYr-pgXpTnwzYEbqT2f53Zy-26UlZYXfgPa-WaJ-g=k-s32" alt="The Midnight Time's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21338011/the-midnight-time" class="flex--item">The Midnight Time</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">1</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 19:39:43Z" class="relativetime">20 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75644544" class="s-post-summary js-post-summary" data-post-id="75644544" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="18 views"> <span class="s-post-summary--stats-item-number">18</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75644544/unexpected-word-error-in-arm926ej-based-system" class="s-link">Unexpected word error in ARM926EJ based system</a> </h3> <div class="s-post-summary--content-excerpt"> I am trying to run a c compiled code for a linux based iot devices running busybox, here are the cpu info cat /proc/cpuinfo Processor : ARM926EJ-S rev 5 (v5l) BogoMIPS : 217.08 Features ... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-linux t-arm"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/linux" class="post-tag flex--item mt0 js-tagname-linux" title="show questions tagged 'linux'" aria-label="show questions tagged 'linux'" rel="tag" aria-labelledby="tag-linux-tooltip-container">linux</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/arm" class="post-tag flex--item mt0 js-tagname-arm" title="show questions tagged 'arm'" aria-label="show questions tagged 'arm'" rel="tag" aria-labelledby="tag-arm-tooltip-container">arm</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/13662068/sec-team" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="13662068"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://lh3.googleusercontent.com/a-/AOh14GgAyNdYFyxvMRjycS6mN41O8OOaW_VbiL7V9FWH=k-s32" alt="Sec Team's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/13662068/sec-team" class="flex--item">Sec Team</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">47</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 18:44:25Z" class="relativetime">21 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75644502" class="s-post-summary js-post-summary" data-post-id="75644502" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 1"> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">vote</span> </div> <div class="s-post-summary--stats-item has-answers has-accepted-answer" title="one of the answers was accepted as the correct answer"> <svg aria-hidden="true" class="svg-icon iconCheckmarkSm" width="14" height="14" viewbox="0 0 14 14"><path d="M13 3.41 11.59 2 5 8.59 2.41 6 1 7.41l4 4 8-8Z"/></svg> <span class="s-post-summary--stats-item-number">1</span> <span class="s-post-summary--stats-item-unit">answer</span> </div> <div class="s-post-summary--stats-item " title="47 views"> <span class="s-post-summary--stats-item-number">47</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75644502/unexpected-behavior-while-reading-data-into-linked-list-from-file" class="s-link">Unexpected behavior while reading data into linked list from file</a> </h3> <div class="s-post-summary--content-excerpt"> I am trying to read and write data from linked list into a file but am encountering an infinite loop while doing so. Code: #include <stdio.h> #include <stdlib.h> struct Program { //... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-linked-list t-malloc t-infinite-loop t-file-handling"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/linked-list" class="post-tag flex--item mt0 js-tagname-linked-list" title="show questions tagged 'linked-list'" aria-label="show questions tagged 'linked-list'" rel="tag" aria-labelledby="tag-linked-list-tooltip-container">linked-list</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/malloc" class="post-tag flex--item mt0 js-tagname-malloc" title="show questions tagged 'malloc'" aria-label="show questions tagged 'malloc'" rel="tag" aria-labelledby="tag-malloc-tooltip-container">malloc</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/infinite-loop" class="post-tag flex--item mt0 js-tagname-infinite-loop" title="show questions tagged 'infinite-loop'" aria-label="show questions tagged 'infinite-loop'" rel="tag" aria-labelledby="tag-infinite-loop-tooltip-container">infinite-loop</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/file-handling" class="post-tag flex--item mt0 js-tagname-file-handling" title="show questions tagged 'file-handling'" aria-label="show questions tagged 'file-handling'" rel="tag" aria-labelledby="tag-file-handling-tooltip-container">file-handling</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/21337796/blueberrypie" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="21337796"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/70112978048150b4a52c4eb83087f054?s=32&d=identicon&r=PG" alt="BlueBerryPie's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/21337796/blueberrypie" class="flex--item">BlueBerryPie</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">13</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 18:40:15Z" class="relativetime">21 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75644273" class="s-post-summary js-post-summary" data-post-id="75644273" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item has-answers " title="2 answers"> <span class="s-post-summary--stats-item-number">2</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="48 views"> <span class="s-post-summary--stats-item-number">48</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75644273/unexpected-behaviour-amending-a-2d-char-array-with-for-loop" class="s-link">Unexpected behaviour amending a 2d char array with FOR loop</a> </h3> <div class="s-post-summary--content-excerpt"> I am trying to amend each character in a 2d array using a FOR loop, but I am getting unexpected results. #include <stdio.h> int main() { char converted[4][4]; for(int i=0; i<4; i++) {... </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-for-loop t-multidimensional-array t-char t-printf"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/for-loop" class="post-tag flex--item mt0 js-tagname-for-loop" title="show questions tagged 'for-loop'" aria-label="show questions tagged 'for-loop'" rel="tag" aria-labelledby="tag-for-loop-tooltip-container">for-loop</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/multidimensional-array" class="post-tag flex--item mt0 js-tagname-multidimensional-array" title="show questions tagged 'multidimensional-array'" aria-label="show questions tagged 'multidimensional-array'" rel="tag" aria-labelledby="tag-multidimensional-array-tooltip-container">multidimensional-array</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/char" class="post-tag flex--item mt0 js-tagname-char" title="show questions tagged 'char'" aria-label="show questions tagged 'char'" rel="tag" aria-labelledby="tag-char-tooltip-container">char</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/printf" class="post-tag flex--item mt0 js-tagname-printf" title="show questions tagged 'printf'" aria-label="show questions tagged 'printf'" rel="tag" aria-labelledby="tag-printf-tooltip-container">printf</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/20779847/ben" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="20779847"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/d09a2c3e082f66170e58da017a1fe0f1?s=32&d=identicon&r=PG" alt="ben's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/20779847/ben" class="flex--item">ben</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">21</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 18:00:09Z" class="relativetime">21 hours ago</span></time> </div> </div> </div> </div> <div id="question-summary-75644244" class="s-post-summary js-post-summary" data-post-id="75644244" data-post-type-id="1"> <div class="s-post-summary--stats js-post-summary-stats"> <div class="s-post-summary--stats-item s-post-summary--stats-item__emphasized" title="Score of 0"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">votes</span> </div> <div class="s-post-summary--stats-item " title="0 answers"> <span class="s-post-summary--stats-item-number">0</span> <span class="s-post-summary--stats-item-unit">answers</span> </div> <div class="s-post-summary--stats-item " title="41 views"> <span class="s-post-summary--stats-item-number">41</span> <span class="s-post-summary--stats-item-unit">views</span> </div> </div> <div class="s-post-summary--content"> <h3 class="s-post-summary--content-title"> <a href="/web/20230306155558/https://stackoverflow.com/questions/75644244/how-do-i-put-all-arrays-on-the-heap-using-intel-compilers" class="s-link">How do I put all arrays on the heap using intel compilers? [closed]</a> </h3> <div class="s-post-summary--content-excerpt"> The command icx.exe /help shows no support for any argument like /heap-arrays[:size] The version I have installed: Intel(R) oneAPI DPC++/C++ Compiler 2023.0.0 (2023.0.0.20221201) </div> <div class="s-post-summary--meta"> <div class="s-post-summary--meta-tags tags js-tags t-c t-intel-oneapi"> <ul class="ml0 list-ls-none js-post-tag-list-wrapper d-inline"><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c" class="post-tag flex--item mt0 js-tagname-c" title="show questions tagged 'c'" aria-label="show questions tagged 'c'" rel="tag" aria-labelledby="tag-c-tooltip-container">c</a></li><li class="d-inline mr4 js-post-tag-list-item"><a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/intel-oneapi" class="post-tag flex--item mt0 js-tagname-intel-oneapi" title="show questions tagged 'intel-oneapi'" aria-label="show questions tagged 'intel-oneapi'" rel="tag" aria-labelledby="tag-intel-oneapi-tooltip-container">intel-oneapi</a></li></ul> </div> <div class="s-user-card s-user-card__minimal"> <div aria-live="polite"> <a href="/web/20230306155558/https://stackoverflow.com/users/1991502/djames" class="s-avatar s-avatar__16 s-user-card--avatar" data-user-id="1991502"> <div class="gravatar-wrapper-16"> <img src="https://web.archive.org/web/20230306155558im_/https://www.gravatar.com/avatar/1883e91ac7aca1b3b90581ba0c70b521?s=32&d=identicon&r=PG" alt="DJames's user avatar" width="16" , height="16" class="s-avatar--image"/> </div> </a> </div> <div class="s-user-card--info"> <div class="s-user-card--link d-flex gs4"> <a href="/web/20230306155558/https://stackoverflow.com/users/1991502/djames" class="flex--item">DJames</a> </div> <ul class="s-user-card--awards"> <li class="s-user-card--rep"><span class="todo-no-class-here" title="reputation score " dir="ltr">495</span></li> </ul> </div> <time class="s-user-card--time">asked <span title="2023-03-05 17:54:33Z" class="relativetime">22 hours ago</span></time> </div> </div> </div> </div> </div> <br class="clear-both"/> <div class="s-pagination site1 themed pager float-left"> <div class="s-pagination--item is-selected" aria-current=""page"">1</div> <a class="s-pagination--item js-pagination-item" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=newest&page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item js-pagination-item" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=newest&page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item js-pagination-item" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=newest&page=4" rel="" title="Go to page 4">4</a> <a class="s-pagination--item js-pagination-item" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=newest&page=5" rel="" title="Go to page 5">5</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item js-pagination-item" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=newest&page=7879" rel="" title="Go to page 7879">7879</a> <a class="s-pagination--item js-pagination-item" href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c?tab=newest&page=2" rel="next" title="Go to page 2"> Next</a></div> </div> <div id="sidebar"> <div class="s-sidebarwidget s-sidebarwidget__yellow s-anchors s-anchors__grayscale mb16" data-tracker="cb=1"> <ul class="d-block p0 m0"> <li class="s-sidebarwidget--header s-sidebarwidget__small-bold-text d-flex fc-black-600 d:fc-black-900 bb bbw1"> The Overflow Blog </li> <li class="s-sidebarwidget--item d-flex px16"> <div class="flex--item1 fl-shrink0"> <svg aria-hidden="true" class="va-text-top svg-icon iconPencilSm" width="14" height="14" viewbox="0 0 14 14"><path d="m11.1 1.71 1.13 1.12c.2.2.2.51 0 .71L11.1 4.7 9.21 2.86l1.17-1.15c.2-.2.51-.2.71 0ZM2 10.12l6.37-6.43 1.88 1.88L3.88 12H2v-1.88Z"/></svg> </div> <div class="flex--item wmn0 ow-break-word"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.blog/2023/03/03/the-nature-of-simulating-nature-a-qa-with-ibm-quantum-researcher-dr-jamie-garcia-ep-543/" class="js-gps-track" title="The nature of simulating nature: A Q&A with IBM Quantum researcher Dr. Jamie Garcia (Ep. 543)" data-ga="["community bulletin board","The Overflow Blog","https://stackoverflow.blog/2023/03/03/the-nature-of-simulating-nature-a-qa-with-ibm-quantum-researcher-dr-jamie-garcia-ep-543/",null,null]" data-gps-track="communitybulletin.click({ priority: 1, position: 0 })">The nature of simulating nature: A Q&A with IBM Quantum researcher Dr. Jamie...</a> </div> </li> <li class="s-sidebarwidget--item d-flex px16"> <div class="flex--item1 fl-shrink0"> <svg aria-hidden="true" class="va-text-top svg-icon iconPencilSm" width="14" height="14" viewbox="0 0 14 14"><path d="m11.1 1.71 1.13 1.12c.2.2.2.51 0 .71L11.1 4.7 9.21 2.86l1.17-1.15c.2-.2.51-.2.71 0ZM2 10.12l6.37-6.43 1.88 1.88L3.88 12H2v-1.88Z"/></svg> </div> <div class="flex--item wmn0 ow-break-word"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.blog/2023/03/06/five-stack-exchange-sites-turned-ten-years-old-this-quarter/" class="js-gps-track" data-ga="["community bulletin board","The Overflow Blog","https://stackoverflow.blog/2023/03/06/five-stack-exchange-sites-turned-ten-years-old-this-quarter/",null,null]" data-gps-track="communitybulletin.click({ priority: 1, position: 1 })">Five Stack Exchange sites turned ten years-old this quarter! </a> </div> </li> <li class="s-sidebarwidget--header s-sidebarwidget__small-bold-text d-flex fc-black-600 d:fc-black-900 bb bbw1"> Featured on Meta </li> <li class="s-sidebarwidget--item d-flex px16"> <div class="flex--item1 fl-shrink0"> <div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div> </div> <div class="flex--item wmn0 ow-break-word"> <a href="https://web.archive.org/web/20230306155558/https://meta.stackexchange.com/questions/386727/weve-added-a-necessary-cookies-only-option-to-the-cookie-consent-popup" class="js-gps-track" data-ga="["community bulletin board","Featured on Meta","https://meta.stackexchange.com/questions/386727/weve-added-a-necessary-cookies-only-option-to-the-cookie-consent-popup",null,null]" data-gps-track="communitybulletin.click({ priority: 3, position: 2 })">We've added a "Necessary cookies only" option to the cookie consent popup</a> </div> </li> <li class="s-sidebarwidget--item d-flex px16"> <div class="flex--item1 fl-shrink0"> <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </div> <div class="flex--item wmn0 ow-break-word"> <a href="https://web.archive.org/web/20230306155558/https://meta.stackoverflow.com/questions/423429/launching-the-ci-cd-and-r-collectives-and-community-editing-features-for-article" class="js-gps-track" title="Launching the CI/CD and R Collectives and community editing features for articles" data-ga="["community bulletin board","Featured on Meta","https://meta.stackoverflow.com/questions/423429/launching-the-ci-cd-and-r-collectives-and-community-editing-features-for-article",null,null]" data-gps-track="communitybulletin.click({ priority: 6, position: 3 })">Launching the CI/CD and R Collectives and community editing features for...</a> </div> </li> <li class="s-sidebarwidget--item d-flex px16"> <div class="flex--item1 fl-shrink0"> <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </div> <div class="flex--item wmn0 ow-break-word"> <a href="https://web.archive.org/web/20230306155558/https://meta.stackoverflow.com/questions/345643/the-amazon-tag-is-being-burninated" class="js-gps-track" data-ga="["community bulletin board","Featured on Meta","https://meta.stackoverflow.com/questions/345643/the-amazon-tag-is-being-burninated",null,null]" data-gps-track="communitybulletin.click({ priority: 6, position: 4 })">The [amazon] tag is being burninated</a> </div> </li> <li class="s-sidebarwidget--item d-flex px16"> <div class="flex--item1 fl-shrink0"> <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </div> <div class="flex--item wmn0 ow-break-word"> <a href="https://web.archive.org/web/20230306155558/https://meta.stackoverflow.com/questions/421831/temporary-policy-chatgpt-is-banned" class="js-gps-track" data-ga="["community bulletin board","Featured on Meta","https://meta.stackoverflow.com/questions/421831/temporary-policy-chatgpt-is-banned",null,null]" data-gps-track="communitybulletin.click({ priority: 6, position: 5 })">Temporary policy: ChatGPT is banned</a> </div> </li> <li class="s-sidebarwidget--item d-flex px16"> <div class="flex--item1 fl-shrink0"> <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </div> <div class="flex--item wmn0 ow-break-word"> <a href="https://web.archive.org/web/20230306155558/https://meta.stackoverflow.com/questions/423469/staging-ground-beta-1-recap-and-reviewers-needed-for-beta-2" class="js-gps-track" data-ga="["community bulletin board","Featured on Meta","https://meta.stackoverflow.com/questions/423469/staging-ground-beta-1-recap-and-reviewers-needed-for-beta-2",null,null]" data-gps-track="communitybulletin.click({ priority: 6, position: 6 })">Staging Ground Beta 1 Recap, and Reviewers needed for Beta 2</a> </div> </li> </ul> </div> <div class="js-sidebar-zone" style="min-height: 300px;"> <div class="js-zone-container zone-container-sidebar"> <div id="dfp-tsb" class="everyonelovesstackoverflow everyoneloves__top-sidebar"></div> <div class="js-report-ad-button-container " style="width: 300px"></div> </div> <div class="js-zone-container zone-container-sidebar"> <div id="dfp-msb" class="everyonelovesstackoverflow everyoneloves__mid-sidebar"></div> <div class="js-report-ad-button-container " style="width: 300px"></div> </div> <div id="hireme"></div> </div> <div class="module js-gps-related-tags"> <h2 id="h-related-tags" class="fc-black-700">Related Tags</h2> <div data-name="c++"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c%20c%2b%2b" class="post-tag no-tag-menu" title="show questions tagged 'c c++'" aria-label="show questions tagged 'c c++'" rel="tag">c++</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">40284</span> </span> </div> <div data-name="arrays"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+arrays" class="post-tag no-tag-menu" title="show questions tagged 'c arrays'" aria-label="show questions tagged 'c arrays'" rel="tag">arrays</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">29658</span> </span> </div> <div data-name="linux"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+linux" class="post-tag no-tag-menu" title="show questions tagged 'c linux'" aria-label="show questions tagged 'c linux'" rel="tag">linux</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">29048</span> </span> </div> <div data-name="pointers"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+pointers" class="post-tag no-tag-menu" title="show questions tagged 'c pointers'" aria-label="show questions tagged 'c pointers'" rel="tag">pointers</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">27630</span> </span> </div> <div data-name="gcc"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+gcc" class="post-tag no-tag-menu" title="show questions tagged 'c gcc'" aria-label="show questions tagged 'c gcc'" rel="tag">gcc</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">15121</span> </span> </div> <div data-name="struct"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+struct" class="post-tag no-tag-menu" title="show questions tagged 'c struct'" aria-label="show questions tagged 'c struct'" rel="tag">struct</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">14300</span> </span> </div> <div data-name="string"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+string" class="post-tag no-tag-menu" title="show questions tagged 'c string'" aria-label="show questions tagged 'c string'" rel="tag">string</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">13996</span> </span> </div> <div data-name="sockets"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+sockets" class="post-tag no-tag-menu" title="show questions tagged 'c sockets'" aria-label="show questions tagged 'c sockets'" rel="tag">sockets</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">8607</span> </span> </div> <div data-name="function"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+function" class="post-tag no-tag-menu" title="show questions tagged 'c function'" aria-label="show questions tagged 'c function'" rel="tag">function</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">7677</span> </span> </div> <div data-name="malloc"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+malloc" class="post-tag no-tag-menu" title="show questions tagged 'c malloc'" aria-label="show questions tagged 'c malloc'" rel="tag">malloc</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">7467</span> </span> </div> <div class="dno js-hidden" data-name="windows"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+windows" class="post-tag no-tag-menu" title="show questions tagged 'c windows'" aria-label="show questions tagged 'c windows'" rel="tag">windows</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">7447</span> </span> </div> <div class="dno js-hidden" data-name="multithreading"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+multithreading" class="post-tag no-tag-menu" title="show questions tagged 'c multithreading'" aria-label="show questions tagged 'c multithreading'" rel="tag">multithreading</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">6978</span> </span> </div> <div class="dno js-hidden" data-name="file"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+file" class="post-tag no-tag-menu" title="show questions tagged 'c file'" aria-label="show questions tagged 'c file'" rel="tag">file</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">6756</span> </span> </div> <div class="dno js-hidden" data-name="scanf"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+scanf" class="post-tag no-tag-menu" title="show questions tagged 'c scanf'" aria-label="show questions tagged 'c scanf'" rel="tag">scanf</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">6453</span> </span> </div> <div class="dno js-hidden" data-name="linked-list"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+linked-list" class="post-tag no-tag-menu" title="show questions tagged 'c linked-list'" aria-label="show questions tagged 'c linked-list'" rel="tag">linked-list</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">6220</span> </span> </div> <div class="dno js-hidden" data-name="segmentation-fault"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+segmentation-fault" class="post-tag no-tag-menu" title="show questions tagged 'c segmentation-fault'" aria-label="show questions tagged 'c segmentation-fault'" rel="tag">segmentation-fault</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">6126</span> </span> </div> <div class="dno js-hidden" data-name="assembly"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+assembly" class="post-tag no-tag-menu" title="show questions tagged 'c assembly'" aria-label="show questions tagged 'c assembly'" rel="tag">assembly</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">5989</span> </span> </div> <div class="dno js-hidden" data-name="printf"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+printf" class="post-tag no-tag-menu" title="show questions tagged 'c printf'" aria-label="show questions tagged 'c printf'" rel="tag">printf</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">5764</span> </span> </div> <div class="dno js-hidden" data-name="python"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+python" class="post-tag no-tag-menu" title="show questions tagged 'c python'" aria-label="show questions tagged 'c python'" rel="tag">python</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">5702</span> </span> </div> <div class="dno js-hidden" data-name="algorithm"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+algorithm" class="post-tag no-tag-menu" title="show questions tagged 'c algorithm'" aria-label="show questions tagged 'c algorithm'" rel="tag">algorithm</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">5660</span> </span> </div> <div class="dno js-hidden" data-name="memory"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+memory" class="post-tag no-tag-menu" title="show questions tagged 'c memory'" aria-label="show questions tagged 'c memory'" rel="tag">memory</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">5647</span> </span> </div> <div class="dno js-hidden" data-name="unix"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+unix" class="post-tag no-tag-menu" title="show questions tagged 'c unix'" aria-label="show questions tagged 'c unix'" rel="tag">unix</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">5257</span> </span> </div> <div class="dno js-hidden" data-name="winapi"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+winapi" class="post-tag no-tag-menu" title="show questions tagged 'c winapi'" aria-label="show questions tagged 'c winapi'" rel="tag">winapi</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">5165</span> </span> </div> <div class="dno js-hidden" data-name="pthreads"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+pthreads" class="post-tag no-tag-menu" title="show questions tagged 'c pthreads'" aria-label="show questions tagged 'c pthreads'" rel="tag">pthreads</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">4781</span> </span> </div> <div class="dno js-hidden" data-name="char"> <a href="/web/20230306155558/https://stackoverflow.com/questions/tagged/c+char" class="post-tag no-tag-menu" title="show questions tagged 'c char'" aria-label="show questions tagged 'c char'" rel="tag">char</a> <span class="item-multiplier"><span class="item-multiplier-x">×</span> <span class="item-multiplier-count">4752</span> </span> </div> <a href="#" class="show-more js-show-more js-gps-track" data-gps-track="related_tags.click({ item_type:2 })"> more related tags </a> <script> StackExchange.ready(function () { var $div = $('#h-related-tags').parent(); $div.find('.js-show-more').click(function () { $div.find('.js-hidden').show(); $(this).remove(); return false; }); }); </script> </div> <div id="hot-network-questions" class="module tex2jax_ignore"> <h4> <a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/questions?tab=hot" class="js-gps-track s-link s-link__inherit" data-gps-track="posts_hot_network.click({ item_type:1, location:9 })"> Hot Network Questions </a> </h4> <ul> <li> <div class="favicon favicon-latin" title="Latin Language Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://latin.stackexchange.com/questions/20599/videre-is-to-spectare-what-audire-is-to" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:644 }); posts_hot_network.click({ item_type:2, location:9 })"> "Videre" is to "spectare" what "audire" is to...? </a> </li> <li> <div class="favicon favicon-unix" title="Unix & Linux Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://unix.stackexchange.com/questions/738686/how-to-print-hardware-models-for-humans" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:106 }); posts_hot_network.click({ item_type:2, location:9 })"> How to print hardware models for humans </a> </li> <li> <div class="favicon favicon-english" title="English Language & Usage Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://english.stackexchange.com/questions/604303/in-england-why-are-some-high-schools-called-hospitals" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:97 }); posts_hot_network.click({ item_type:2, location:9 })"> In England, why are some high schools called hospitals? </a> </li> <li> <div class="favicon favicon-diy" title="Home Improvement Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://diy.stackexchange.com/questions/268292/where-can-i-get-custom-size-closet-doors-or-how-do-i-make-one" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:73 }); posts_hot_network.click({ item_type:2, location:9 })"> Where can I get custom size closet doors, or how do I make one? </a> </li> <li> <div class="favicon favicon-matheducators" title="Mathematics Educators Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://matheducators.stackexchange.com/questions/26199/how-do-should-administrators-estimate-the-cost-of-producing-an-online-introducto" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:548 }); posts_hot_network.click({ item_type:2, location:9 })"> How do/should administrators estimate the cost of producing an online introductory mathematics class? </a> </li> <li> <div class="favicon favicon-electronics" title="Electrical Engineering Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://electronics.stackexchange.com/questions/657491/active-thermistor-giving-skewed-readings-immediately-when-heating-element-turned" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:135 }); posts_hot_network.click({ item_type:2, location:9 })"> Active thermistor giving skewed readings immediately when heating element turned on </a> </li> <li> <div class="favicon favicon-music" title="Music: Practice & Theory Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://music.stackexchange.com/questions/128826/skip-beat-in-a-measure" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:240 }); posts_hot_network.click({ item_type:2, location:9 })"> Skip Beat in a Measure </a> </li> <li> <div class="favicon favicon-english" title="English Language & Usage Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://english.stackexchange.com/questions/604178/is-there-a-single-word-adjective-for-having-exceptionally-strong-moral-principl" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:97 }); posts_hot_network.click({ item_type:2, location:9 })"> Is there a single-word adjective for "having exceptionally strong moral principles"? </a> </li> <li> <div class="favicon favicon-diy" title="Home Improvement Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://diy.stackexchange.com/questions/268239/a-plastic-tab-tag-stuck-out-of-the-ge-dryer-drum-gap-does-anyone-know-what-it-i" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:73 }); posts_hot_network.click({ item_type:2, location:9 })"> A plastic tab/tag stuck out of the GE dryer drum gap. Does anyone know what it is, if it is a part of the dryer, and if so how I can fix it? </a> </li> <li> <div class="favicon favicon-music" title="Music: Practice & Theory Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://music.stackexchange.com/questions/128832/combine-notes-and-lyrics-into-a-variable" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:240 }); posts_hot_network.click({ item_type:2, location:9 })"> Combine notes and lyrics into a variable </a> </li> <li> <div class="favicon favicon-opensource" title="Open Source Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://opensource.stackexchange.com/questions/13788/my-code-is-gpl-licensed-can-i-issue-a-license-to-have-my-code-be-distributed-in" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:619 }); posts_hot_network.click({ item_type:2, location:9 })"> My code is GPL licensed, can I issue a license to have my code be distributed in a specific MIT licensed project? </a> </li> <li> <div class="favicon favicon-diy" title="Home Improvement Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://diy.stackexchange.com/questions/268276/what-kind-of-wall-is-this-and-how-can-i-repair-it" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:73 }); posts_hot_network.click({ item_type:2, location:9 })"> What kind of wall is this and how can I repair it? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-stats" title="Cross Validated"></div><a href="https://web.archive.org/web/20230306155558/https://stats.stackexchange.com/questions/608436/is-this-summary-of-mcmc-correct" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:65 }); posts_hot_network.click({ item_type:2, location:9 })"> Is this summary of MCMC correct? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-opensource" title="Open Source Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://opensource.stackexchange.com/questions/13806/which-type-of-license-doesnt-require-attribution-in-github-projects" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:619 }); posts_hot_network.click({ item_type:2, location:9 })"> Which type of license doesn't require attribution in Github projects? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-puzzling" title="Puzzling Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://puzzling.stackexchange.com/questions/119974/rolling-cube-on-an-infinite-chessboard" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:559 }); posts_hot_network.click({ item_type:2, location:9 })"> Rolling cube on an infinite chessboard </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-rpg" title="Role-playing Games Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://rpg.stackexchange.com/questions/205050/are-there-any-other-options-to-mitigate-the-volley-trait" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:122 }); posts_hot_network.click({ item_type:2, location:9 })"> Are there any other options to mitigate the Volley trait? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-gis" title="Geographic Information Systems Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://gis.stackexchange.com/questions/454475/nodata-masks-in-qgis" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:79 }); posts_hot_network.click({ item_type:2, location:9 })"> NoData masks in QGIS </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-retrocomputing" title="Retrocomputing Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://retrocomputing.stackexchange.com/questions/26560/what-did-ctrlnumlock-do" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:648 }); posts_hot_network.click({ item_type:2, location:9 })"> What did Ctrl+NumLock do? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-ell" title="English Language Learners Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://ell.stackexchange.com/questions/333764/can-take-office-be-used-for-any-profession-or-what-expression-should-i-use" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:481 }); posts_hot_network.click({ item_type:2, location:9 })"> Can "take office" be used for any profession, or what expression should I use? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-travel" title="Travel Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://travel.stackexchange.com/questions/179814/questions-about-bringing-spices-or-nuts-to-new-zealand" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:273 }); posts_hot_network.click({ item_type:2, location:9 })"> Questions about bringing spices or nuts to New Zealand </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-politics" title="Politics Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://politics.stackexchange.com/questions/78578/why-did-ukraine-abstain-from-the-unhrc-vote-on-china" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:475 }); posts_hot_network.click({ item_type:2, location:9 })"> Why did Ukraine abstain from the UNHRC vote on China? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-workplace" title="The Workplace Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://workplace.stackexchange.com/questions/190343/disconnect-between-goals-and-daily-tasks-is-it-me-or-the-industry" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:423 }); posts_hot_network.click({ item_type:2, location:9 })"> Disconnect between goals and daily tasks...Is it me, or the industry? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-law" title="Law Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://law.stackexchange.com/questions/90062/a-swiss-watch-company-seized-my-watch-saying-it-was-stolen-i-bought-it-10-year" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:617 }); posts_hot_network.click({ item_type:2, location:9 })"> A Swiss watch company seized my watch, saying it was stolen. I bought it 10 years ago, is that legal? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-japanese" title="Japanese Language Stack Exchange"></div><a href="https://web.archive.org/web/20230306155558/https://japanese.stackexchange.com/questions/98808/what-is-%e3%81%b7%e3%82%8c%e3%81%9b%e3%82%93%e3%81%a8%e3%81%b5%e3%81%89%e3%83%bc%e3%82%86%e3%83%bc%e3%81%95%e3%82%93-exactly-referring-to" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:9, target_site:257 }); posts_hot_network.click({ item_type:2, location:9 })"> What is "ぷれせんとふぉーゆーさん" exactly referring to? </a> </li> </ul> <a href="#" class="show-more js-show-more js-gps-track" data-gps-track="posts_hot_network.click({ item_type:3, location:9 })"> more hot questions </a> </div> <div id="feed-link" class="js-feed-link"> <a href="/web/20230306155558/https://stackoverflow.com/feeds/tag?tagnames=c&sort=newest" title="The 30 newest c questions"> <svg aria-hidden="true" class="fc-orange-400 svg-icon iconRss" width="18" height="18" viewbox="0 0 18 18"><path d="M3 1a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3Zm0 1.5c6.9 0 12.5 5.6 12.5 12.5H13C13 9.55 8.45 5 3 5V2.5Zm0 5c4.08 0 7.5 3.41 7.5 7.5H8c0-2.72-2.28-5-5-5V7.5Zm0 5c1.36 0 2.5 1.14 2.5 2.5H3v-2.5Z"/></svg> Newest c questions feed </a> </div> <aside class="s-modal js-feed-link-modal" tabindex="-1" role="dialog" aria-labelledby="feed-modal-title" aria-describedby="feed-modal-description" aria-hidden="true"> <div class="s-modal--dialog js-modal-dialog wmx4" role="document" data-controller="se-draggable"> <h1 class="s-modal--header fw-bold js-first-tabbable" id="feed-modal-title" data-se-draggable-target="handle" tabindex="0"> Subscribe to RSS </h1> <div class="d-flex gs4 gsy fd-column"> <div class="flex--item"> <label class="d-block s-label c-default" for="feed-url"> Newest c questions feed <p class="s-description mt2" id="feed-modal-description">To subscribe to this RSS feed, copy and paste this URL into your RSS reader.</p> </label> </div> <div class="d-flex ps-relative"> <input class="s-input" type="text" name="feed-url" id="feed-url" readonly="readonly" value="https://stackoverflow.com/feeds/tag?tagnames=c&sort=newest"/> <svg aria-hidden="true" class="s-input-icon fc-orange-400 svg-icon iconRss" width="18" height="18" viewbox="0 0 18 18"><path d="M3 1a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3Zm0 1.5c6.9 0 12.5 5.6 12.5 12.5H13C13 9.55 8.45 5 3 5V2.5Zm0 5c4.08 0 7.5 3.41 7.5 7.5H8c0-2.72-2.28-5-5-5V7.5Zm0 5c1.36 0 2.5 1.14 2.5 2.5H3v-2.5Z"/></svg> </div> </div> <a class="s-modal--close s-btn s-btn__muted js-modal-close js-last-tabbable" href="#" aria-label="Close"> <svg aria-hidden="true" class="svg-icon iconClearSm" width="14" height="14" viewbox="0 0 14 14"><path d="M12 3.41 10.59 2 7 5.59 3.41 2 2 3.41 5.59 7 2 10.59 3.41 12 7 8.41 10.59 12 12 10.59 8.41 7 12 3.41Z"/></svg> </a> </div> </aside> </div> </div> </div> <script type="text/javascript"> var cam = cam || { opt: {} }; var clcGamLoaderOptions = cam || { opt: {} }; var opt = clcGamLoaderOptions.opt; opt.omni = 'BwoLCMa5vfKpmc87EAUgAigBOgN8Y3xIAFoSCYY9ezqCeQ6OEfVmbUcqJJA4239GHmOxXtaZ9A'; opt.sf = !0; opt.hb = !1; opt.ll = !0; opt.tlb_position = 0; opt.personalization_consent = !1; opt.targeting_consent = !1; opt.performance_consent = !1; opt.targeting = {Registered:['false'],'so-tag':['c'],'tag-reportable':['c'],'tag-non-reportable':['c']}; opt.adReportEnabled = !0; opt.adReportUrl = '/ads/report-ad'; opt.adReportText = 'Report this ad'; opt.adReportFileTypeErrorMessage = 'Please select a PNG or JPG file.'; opt.adReportFileSizeErrorMessage = 'The file must be under 2 MiB.'; opt.adReportErrorText = 'Error uploading ad report.'; opt.adReportThanksText = 'Thanks for your feedback. We’ll review this against our code of conduct and take action if necessary.'; opt.adReportLoginExpiredMessage = 'Your login session has expired, please login and try again.'; opt.adReportLoginErrorMessage = 'An error occurred when loading the report form - please try again'; opt.adReportModalClass = 'js-ad-report'; opt.requestGuid = 'a552ba57-f799-4a40-b26a-f8fca0277a44'; opt.targeting.TargetingConsent = ['False_Passive']; const urlParams = new URLSearchParams(window.location.search); if (urlParams.has('dfptestads')) { const dfptestads = urlParams.get('dfptestads'); opt.targeting.DfpTestAds = dfptestads; } </script> <script>;(()=>{"use strict";var __webpack_modules__={23:(e,t,o)=>{o.d(t,{Z7:()=>l,eq:()=>r,kG:()=>n});const a=/^\/tags\//.test(location.pathname)||/^\/questions\/tagged\//.test(location.pathname)?"tag-pages":/^\/$/.test(location.pathname)||/^\/home/.test(location.pathname)?"home-page":"question-pages";let s=location.hostname;const i={slots:{lb:[[728,90]],mlb:[[728,90]],smlb:[[728,90]],bmlb:[[728,90]],sb:e=>"dfp-tsb"===e?[[300,250],[300,600]]:[[300,250]],"tag-sponsorship":[[730,135]],"mobile-below-question":[[320,50],[300,250]],msb:[[300,250],[300,600]],"talent-conversion-tracking":[[1,1]],"site-sponsorship":[[230,60]]},ids:{"dfp-tlb":"lb","dfp-mlb":"mlb","dfp-smlb":"smlb","dfp-bmlb":"bmlb","dfp-tsb":"sb","dfp-isb":"sb","dfp-tag":"tag-sponsorship","dfp-msb":"msb","dfp-sspon":"site-sponsorship","dfp-m-aq":"mobile-below-question"},idsToExcludeFromAdReports:["dfp-sspon"]};function n(){return Object.keys(i.ids)}function r(e){return i.idsToExcludeFromAdReports.indexOf(e)<0}function l(e){var t=e.split("_")[0];const o=i.ids[t];let n=i.slots[o];return"function"==typeof n&&(n=n(t)),{path:`/248424177/${s}/${o}/${a}`,sizes:n,zone:o}}},865:(e,t,o)=>{function a(e){return"string"==typeof e?document.getElementById(e):e}function s(e){return!!(e=a(e))&&"none"===getComputedStyle(e).display}function i(e){return!s(e)}function n(e){return!!e}function r(e){return/^\s*$/.test(a(e).innerHTML)}function l(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight="auto",t.display="none"}function d(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight="auto",t.display="none",[].forEach.call(e.children,d)}function c(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight="auto",t.removeProperty("display")}function p(e){const t=document.createElement("script");t.src=e,document.body.appendChild(t)}function g(e){return o=e,(t=[]).push=function(e){return o(),delete this.push,this.push(e)},t;var t,o}function h(e){let t="function"==typeof HTMLTemplateElement;var o=document.createElement(t?"template":"div");return e=e.trim(),o.innerHTML=e,t?o.content.firstChild:o.firstChild}o.d(t,{$Z:()=>c,Bv:()=>h,Gx:()=>p,Nj:()=>a,QZ:()=>g,cf:()=>l,pn:()=>i,wo:()=>d,xb:()=>r,xj:()=>s,yb:()=>n})},763:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{t:()=>AdReports});var _common_helper__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(865),_console__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(276),_ad_units__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23);class AdReports{constructor(e,t){if(this.googletag=e,this.cam=t,this.allowedFileTypes=["image/png","image/jpg","image/jpeg"],this.ignoreValidation=!1,_console__WEBPACK_IMPORTED_MODULE_1__.cM("Ad reporting init"),this.cam=t,this.callOnButtonClick=e=>this.onButtonClick(e),this.googletag.pubads().addEventListener("slotRenderEnded",e=>this.handleSlotRendered(e)),Array.isArray(t.slotsRenderedEvents)){_console__WEBPACK_IMPORTED_MODULE_1__.cM("Adding report button to "+t.slotsRenderedEvents.length+" events that have transpired");for(var o=0;o<t.slotsRenderedEvents.length;o++)this.handleSlotRendered(t.slotsRenderedEvents[o])}}handleSlotRendered(e){if(e&&e.slot&&!e.isEmpty&&(e.creativeId||e.lineItemId||!e.isEmpty)){var t=e.slot.getSlotElementId();if(t){var o=document.getElementById(t);if(o)if((0,_ad_units__WEBPACK_IMPORTED_MODULE_0__.eq)(t)){var a=o?.closest(".js-zone-container")?.querySelector(".js-report-ad-button-container");a.append(this.createButton(e)),a.style.height="24px",_console__WEBPACK_IMPORTED_MODULE_1__.cM("Added report button to the bottom of "+t)}else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of "+t+": shouldHaveReportButton = false");else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of "+t+": resolved invalid adUnit element")}else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of element: invalid adUnitElementId")}else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of element: invalid SlotRenderEndedEvent")}async onButtonClick(e){e.preventDefault();let t=e.target;const o=t.dataset.modalUrl,a=t.dataset.googleEventData;return await this.loadModal(o,t,a),!1}createButton(e){let t=document.createElement("button");var o=JSON.stringify(e);return t.dataset.googleEventData=o,t.dataset.modalUrl=this.cam.opt.adReportUrl,t.dataset.adUnit=e.slot.getSlotElementId(),t.classList.add("js-report-ad","s-btn","s-btn__link","fs-fine","mt2","float-right"),t.append(document.createTextNode(this.cam.opt.adReportText)),t.removeEventListener("click",this.callOnButtonClick),t.addEventListener("click",this.callOnButtonClick),t}async loadModal(url,$link,googleEventData){try{await window.StackExchange.helpers.loadModal(url,{returnElements:window.$($link)}),this.initForm(googleEventData)}catch(e){var message="",response=e.responseText?eval(`(${e.responseText})`):null;message=response&&response.isLoggedOut?this.cam.opt.adReportLoginExpiredMessage:this.cam.opt.adReportLoginErrorMessage,window.StackExchange.helpers.showToast(message,{type:"danger"})}}removeModal(){window.StackExchange.helpers.closePopups(document.querySelectorAll("."+this.cam.opt.adReportModalClass),"dismiss")}initForm(e,t=!1){this.ignoreValidation=t,this.$form=document.querySelector(".js-ad-report-form"),this.$googleEventData=this.$form.querySelector(".js-json-data"),this.$adReportReasons=this.$form.querySelectorAll(".js-ad-report-reason"),this.$adReportReasonOther=this.$form.querySelector(".js-ad-report-reason-other"),this.$fileUploaderInput=this.$form.querySelector(".js-file-uploader-input"),this.$imageUploader=this.$form.querySelector(".js-image-uploader"),this.$clearImageUpload=this.$form.querySelector(".js-clear-image-upload"),this.$imageUploaderText=this.$form.querySelector(".js-image-uploader-text"),this.$imageUploaderPreview=this.$form.querySelector(".js-image-uploader-preview"),this.$fileErrorMessage=this.$form.querySelector(".js-file-error");const o=this.$form.querySelector(".js-drag-drop-enabled"),a=this.$form.querySelector(".js-drag-drop-disabled");this.$googleEventData.value=e,this.$adReportReasons.forEach((e,t)=>e.addEventListener("change",e=>{this.$adReportReasonOther.classList.toggle("d-none","3"!==e.target.value)})),this.$fileUploaderInput.addEventListener("change",()=>{this.validateFileInput()&&this.updateImagePreview(this.$fileUploaderInput.files)}),this.$clearImageUpload.addEventListener("click",e=>{e.preventDefault(),this.clearImageUpload()});try{this.$fileUploaderInput[0].value="",this.$imageUploader.addEventListener("dragenter dragover dragleave drop",this.preventDefaults),this.$imageUploader.addEventListener("dragenter dragover",this.handleDragStart),this.$imageUploader.addEventListener("dragleave drop",this.handleDragEnd),this.$imageUploader.addEventListener("drop",this.handleDrop)}catch(e){o.classList.add("d-none"),a.classList.remove("d-none")}this.$form.removeEventListener("",this.handleDragEnd),this.$form.addEventListener("submit",async e=>(e.preventDefault(),this.submitForm(),!1))}clearImageUpload(){this.$fileUploaderInput.value="",this.$imageUploaderPreview.setAttribute("src",""),this.$imageUploaderPreview.classList.add("d-none"),this.$clearImageUpload.classList.add("d-none"),this.$imageUploaderText.classList.remove("d-none"),this.$imageUploader.classList.add("p16","ba","bas-dashed","bc-black-100")}preventDefaults(e){e.preventDefault(),e.stopPropagation()}handleDragStart(e){this.$imageUploader.classList.remove("bas-dashed"),this.$imageUploader.classList.add("bas-solid","bc-black-100")}handleDragEnd(e){this.$imageUploader.classList.remove("bas-solid","bc-black-100"),this.$imageUploader.classList.add("bas-dashed")}handleDrop(e){var t=e.originalEvent.dataTransfer.files;FileReader&&t&&1===t.length&&(this.$fileUploaderInput.files=t,this.validateFileInput()&&this.updateImagePreview(t))}setError(e){this.$fileErrorMessage.parentElement.classList.toggle("has-error",e)}updateImagePreview(e){this.$imageUploader.classList.remove("p16","ba","bas-dashed","bc-black-100"),this.$clearImageUpload.classList.remove("d-none"),this.$imageUploaderText.classList.add("d-none");var t=new FileReader;t.onload=e=>{null!=e.target&&(this.$imageUploaderPreview.setAttribute("src",e.target.result),this.$imageUploaderPreview.classList.remove("d-none"))},t.readAsDataURL(e[0])}validateFileInput(){if(this.ignoreValidation)return!0;const e=this.cam.opt.adReportFileTypeErrorMessage,t=this.cam.opt.adReportFileSizeErrorMessage;if(null==this.$fileUploaderInput.files)return!1;var o=this.$fileUploaderInput.files[0];return null==o?(this.setError(!0),!1):this.allowedFileTypes.indexOf(o.type)<0?(this.$fileErrorMessage.textContent=e,this.$fileErrorMessage.classList.remove("d-none"),this.setError(!0),!1):o.size>2097152?(this.$fileErrorMessage.textContent=t,this.$fileErrorMessage.classList.remove("d-none"),this.setError(!0),!1):(this.$fileErrorMessage.classList.add("d-none"),this.setError(!1),!0)}async submitForm(){if(!this.validateFileInput())return!1;this.$form.querySelector("[type=submit]").setAttribute("disabled","true");var e=JSON.parse(this.$googleEventData.value||"{}");e.Reason=parseInt(this.$form.querySelector(".js-ad-report-reason:checked").value,10),e.Description=this.$adReportReasonOther.value,this.$googleEventData.value=JSON.stringify(e);var t=new FormData(this.$form);try{const e=await window.fetch(this.$form.getAttribute("action"),{method:this.$form.getAttribute("method"),body:t,cache:"no-cache"}),a=e.headers.get("content-type")||"",s=await e.text();if(!e.ok)throw new Error("response not valid");if(0===a.indexOf("text/html")){var o=(0,_common_helper__WEBPACK_IMPORTED_MODULE_2__.Bv)(s);const e=o?o.querySelector(".js-modal-content"):null;if(_console__WEBPACK_IMPORTED_MODULE_1__.cM("$popupContent"),_console__WEBPACK_IMPORTED_MODULE_1__.cM(e),!e)throw new Error(`Could not find .js-modal-content in response from ${this.$form.getAttribute("action")}`);document.querySelector(".js-modal-content").replaceWith(e)}else window.StackExchange.helpers.showToast(this.cam.opt.adReportThanksText,{type:"success"}),this.removeModal()}catch(e){window.StackExchange.helpers.showToast(this.cam.opt.adReportErrorText,{type:"danger"})}finally{let e=this.$form.querySelector("[type=submit]");e&&e.removeAttribute("disabled")}}}},276:(e,t,o)=>{function a(...e){}o.d(t,{cM:()=>a})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](o,o.exports,__webpack_require__),o.exports}__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={};(()=>{var e=__webpack_require__(276),t=(e=>(e[e.Above=0]="Above",e[e.Below=1]="Below",e))(t||{});const o=Object.assign({},{"lib":"https://web.archive.org/web/20230306155558/https://cdn.sstatic.net/clc/js/bundles/gam_loader_script/gam_loader_script.bundle.741.a1bd5bd69766c6c9192d.min.js","style":null,"u":null,"wa":true,"kt":2000,"tto":true,"h":"clc.stackoverflow.com","allowed":"^(((talent\\.)?stackoverflow)|(blog\\.codinghorror)|(.*\\.googlesyndication)|(serverfault|askubuntu)|([^\\.]+\\.stackexchange))\\.com$","wv":true,"al":false,"abd":true,"cpa_liid":[5882654614],"cpa_cid":[138377597667],"dp":false});var a=__webpack_require__(23),s=__webpack_require__(865),i=__webpack_require__(763);window.cam=new class{constructor(){this.gptImported=!1,this.collapsed={},e.cM("constructor"),this.clc_options=o,window.clcGamLoaderOptions?Object.assign(this,window.clcGamLoaderOptions):void 0===this.opt&&(this.opt=window.opt)}init(){if(e.cM("init"),void 0===this.opt)throw new Error("opt not set, required by GAM Loader");e.cM("setup message handler"),window.addEventListener("message",e=>{this.onmessage(e)}),this.opt.targeting&&this.opt.targeting.ProductVariant&&"SystemDefault"===this.opt.targeting.ProductVariant[0]&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?this.opt.targeting.ProductVariant="Dark":this.opt.targeting.ProductVariant="Light")}handleSlotRenderedNoAdReport(){if(googletag.pubads().addEventListener("slotRenderEnded",e=>this.applyExtraMarginBottom(e)),Array.isArray(this.slotsRenderedEvents))for(var e=0;e<this.slotsRenderedEvents.length;e++)this.applyExtraMarginBottom(this.slotsRenderedEvents[e])}onmessage(t){let o="omni";if(t.data&&("string"==typeof t.data||t.data instanceof String))if(0===t.data.indexOf("get-omni-")){e.cM("Recevied get-omni message, sending back omni");var a=t.source,i=this.opt.omni,n="string"==typeof i?i:"";a.postMessage([o,n,this.opt.requestGuid].join("|"),"*")}else if(0===t.data.indexOf("collapse-")){e.cM("Recevied collapse message, collapse ad iframe"),e.cM(t);for(var r=t.source.window,l=document.getElementsByTagName("IFRAME"),d=0;d<l.length;d++){var c=l[d];if(c.contentWindow==r)return void(0,s.wo)(c.parentElement.parentElement.parentElement)}}else if(0===t.data.indexOf("resize|")){e.cM("Recevied resize message, resize ad iframe"),e.cM(t);let o=this._getFrameByEvent(t),a=t.data.indexOf("|")+1,s=t.data.slice(a),i=parseFloat(s)+.5;e.cM("New iframe height "+i),o.height=i.toString(),o.parentElement.style.height=i.toString()+"px"}else if(0===t.data.indexOf("getmarkup|")){let o=t.data.indexOf("|")+1,a=t.data.slice(o);e.cM("Recevied get markup message: "+a);let s=this._getFrameByEvent(t).closest(".everyonelovesstackoverflow");const i=document.createElement("script");i.dataset.adZoneId=s.id,i.src=a,document.body.appendChild(i)}}placeInIframe(t,o){e.cM("Received markup result in main frame");let a=document.getElementById(t.dataset.adZoneId),s=a.querySelector("iframe");if("string"==typeof o.prefixToIframeHtml){let e=document.createElement("div");e.innerHTML=o.prefixToIframeHtml,a.prepend(e.querySelector("img"))}s.contentWindow.postMessage(["markup",JSON.stringify(o)].join("|"),"*")}_getFrameByEvent(e){return Array.from(document.getElementsByTagName("iframe")).filter(t=>t.contentWindow===e.source)[0]}classifyZoneIds(e){const t=e.map(s.Nj).filter(s.yb);return{eligible:t.filter(s.xb).filter(s.pn),ineligible:t.filter(s.xj)}}applyExtraMarginBottom(t){if(t&&t.slot&&!t.isEmpty&&(t.creativeId||t.lineItemId||!t.isEmpty)){var o=t.slot.getSlotElementId();if(o){var s=document.getElementById(o);if(s)if((0,a.eq)(o)){var i=s?.closest(".js-zone-container");i.style.marginBottom="24px",e.cM("Applied extra margin to the bottom of "+o)}else e.cM("Not applying extra margin to the bottom of "+o+": shouldHaveReportButton = false");else e.cM("Not applying extra margin to the bottom of "+o+": resolved invalid adUnit element")}else e.cM("Not applying extra margin to the bottom of element: invalid adUnitElementId")}else e.cM("Not applying extra margin to the bottom of element: invalid SlotRenderEndedEvent")}load(o=(0,a.kG)()){const n=this.opt.tlb_position===t.Above?["dfp-mlb","dfp-smlb"]:["dfp-mlb","dfp-smlb","dfp-tlb"];if(!this.isGptReady())return e.cM("Initializing..."),this.initGpt(),void googletag.cmd.push(()=>this.load(o));this.opt.adReportEnabled?(e.cM("Ad reporting enabled"),this.adReports=new i.t(googletag,this)):(e.cM("Ad reporting not enabled"),this.handleSlotRenderedNoAdReport()),e.cM("Attempting to load ads into ids: ",o);const{eligible:r,ineligible:l}=this.classifyZoneIds(o);if(this.initDebugPanel(googletag,r.concat(l)),r.forEach(e=>(0,s.cf)(e)),l.forEach(s.wo),0===r.length)return void e.cM("Found no ad ids on page");e.cM("Eligible ids:",r),this.opt.abd&&this.appendAdblockDetector();var d=googletag.pubads().getSlots().filter(e=>o.indexOf(e.getSlotElementId())>=0);googletag.destroySlots(d),this.opt.sf&&(googletag.pubads().setForceSafeFrame(!0),googletag.pubads().setSafeFrameConfig({allowOverlayExpansion:!0,allowPushExpansion:!0,sandbox:!0})),e.cM("Targeting consent: Checking...");let c=!1,p=!1;void 0!==this.opt.targeting_consent&&(p=!0,e.cM("Targeting consent: Parameter set"),e.cM("Targeting consent: Consent given? ",this.opt.targeting_consent),c=this.opt.targeting_consent),void 0!==this.opt.personalization_consent&&(e.cM("Personalization consent: Parameter set"),e.cM("Personalization consent: Consent given? ",this.opt.personalization_consent),c=c&&this.opt.personalization_consent),c=c&&p,googletag.pubads().setRequestNonPersonalizedAds(c?0:1),c||googletag.pubads().setPrivacySettings({limitedAds:!0}),this.opt.ll||googletag.pubads().enableSingleRequest(),cam.sreEvent||(googletag.pubads().addEventListener("slotRenderEnded",e=>this.onSlotRendered(e)),cam.sreEvent=!0),this.setTargeting(googletag);var g=r.filter(e=>!this.opt.ll||n.indexOf(e.id)<0),h=r.filter(e=>!!this.opt.ll&&n.indexOf(e.id)>=0);e.cM("Up front ids:",g),e.cM("Lazy loaded ids:",h),g.forEach(t=>{e.cM(`Defining ad for element ${t.id}`),this.defineSlot(t.id,googletag),t.setAttribute("data-dfp-zone","true")}),googletag.enableServices(),g.forEach(t=>{e.cM(`Displaying ad for element ${t.id}`),googletag.cmd.push(()=>googletag.display(t.id))}),this.opt.ll&&(e.cM("Enabling lazy loading for GAM"),googletag.pubads().enableLazyLoad({fetchMarginPercent:0,renderMarginPercent:0}),e.cM("Setting up lazy loaded ad units"),h.forEach(t=>{e.cM(`Lazy loading - Defining Slot ${t.id}`),this.defineSlot(t.id,googletag)}),h.forEach(t=>{e.cM(`Lazy loading - Displaying ad for element ${t.id}`),googletag.cmd.push(()=>googletag.display(t.id))}))}setTargeting(t){let o=this.opt.targeting;if(!o)throw new Error("Targeting not defined");Object.keys(o).forEach(a=>{e.cM(`-> targeting - ${a}: ${o[a]}`),t.pubads().setTargeting(a,o[a])})}appendAdblockDetector(){const e=document.createElement("div");e.className="adsbox",e.id="clc-abd",e.style.position="absolute",e.style.pointerEvents="none",e.innerHTML=" ",document.body.appendChild(e)}onSlotRendered(o){try{const n=o.slot.getSlotElementId();let r=[];n||r.push("id=0");const l=document.getElementById(n);if(n&&!l&&r.push("el=0"),0!==r.length)return void this.stalled(r.join("&"));const{path:d,sizes:c,zone:p}=(0,a.Z7)(n);if(this.collapsed[p]&&o.isEmpty)return e.cM(`No line item for the element #${l.id}... collapsing.`),void(0,s.wo)(l);if(this.slotsRenderedEvents.push(o),o.lineItemId||o.creativeId||!o.isEmpty){e.cM(`Rendered ad for element #${l.id} [line item #${o.lineItemId}]`),e.cM(o);var i=l.parentElement;if(i.classList.contains("js-zone-container")){switch((0,s.cf)(i),n){case"dfp-tlb":this.opt.tlb_position===t.Above?i.classList.add("mb8"):i.classList.add("mt16");break;case"dfp-tag":i.classList.add("mb8");break;case"dfp-msb":i.classList.add("mt16");break;case"dfp-mlb":case"dfp-smlb":case"dfp-bmlb":i.classList.add("my8");break;case"dfp-isb":i.classList.add("mt24");break;case"dfp-m-aq":i.classList.add("my12"),i.classList.add("mx-auto")}(0,s.$Z)(i),(0,s.$Z)(l)}else e.cM(`No ad for element #${l.id}, collapsing`),e.cM(o),(0,s.wo)(l)}}catch(e){this.stalled("e=1")}}stalled(e){(new Image).src=`https://${this.clc_options.h}/stalled.gif?${e}`}defineSlot(t,o){"dfp-isb"===t&&(e.cM("-> targeting - Sidebar: Inline"),o.pubads().setTargeting("Sidebar",["Inline"])),"dfp-tsb"===t&&(e.cM("-> targeting - Sidebar: Right"),o.pubads().setTargeting("Sidebar",["Right"]));const{path:s,sizes:i,zone:n}=(0,a.Z7)(t);e.cM(`Defining slot for ${t}: ${s}, sizes: ${JSON.stringify(i)}`),o.defineSlot(s,i,t).addService(o.pubads())}importGptLibrary(){this.gptImported||(this.gptImported=!0,void 0===this.opt.targeting_consent||this.opt.targeting_consent?(0,s.Gx)("https://web.archive.org/web/20230306155558/https://securepubads.g.doubleclick.net/tag/js/gpt.js"):(0,s.Gx)("https://web.archive.org/web/20230306155558/https://pagead2.googlesyndication.com/tag/js/gpt.js"))}isGptReady(){return"undefined"!=typeof googletag&&!!googletag.apiReady}initGpt(){"undefined"==typeof googletag&&(window.googletag={cmd:(0,s.QZ)(()=>this.importGptLibrary())})}initDebugPanel(t,o){e.cM("initDebugPanel"),e.cM("Not showing debug panel")}},window.clcGamLoaderOptions&&(cam.init(),cam.load())})()})();</script> <footer id="footer" class="site-footer js-footer" role="contentinfo"> <div class="site-footer--container"> <div class="site-footer--logo"> <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/" aria-label="Stack Overflow"><svg aria-hidden="true" class="native svg-icon iconLogoGlyphMd" width="32" height="37" viewbox="0 0 32 37"><path d="M26 33v-9h4v13H0V24h4v9h22Z" fill="#BCBBBB"/><path d="m21.5 0-2.7 2 9.9 13.3 2.7-2L21.5 0ZM26 18.4 13.3 7.8l2.1-2.5 12.7 10.6-2.1 2.5ZM9.1 15.2l15 7 1.4-3-15-7-1.4 3Zm14 10.79.68-2.95-16.1-3.35L7 23l16.1 2.99ZM23 30H7v-3h16v3Z" fill="#F48024"/></svg></a> </div> <nav class="site-footer--nav"> <div class="site-footer--col"> <h5 class="-title"><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/" class="js-gps-track" data-gps-track="footer.click({ location: 5, link: 15})">Stack Overflow</a></h5> <ul class="-list js-primary-footer-links"> <li><a href="/web/20230306155558/https://stackoverflow.com/questions" class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 16})">Questions</a></li> <li><a href="/web/20230306155558/https://stackoverflow.com/help" class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 3 })">Help</a></li> </ul> </div> <div class="site-footer--col"> <h5 class="-title"><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/" class="js-gps-track" data-gps-track="footer.click({ location: 5, link: 19 })">Products</a></h5> <ul class="-list"> <li><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/teams" class="js-gps-track -link" data-ga="["teams traffic","footer - site nav","stackoverflow.com/teams",null,{"dimension4":"teams"}]" data-gps-track="footer.click({ location: 5, link: 29 })">Teams</a></li> <li><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/advertising" class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 21 })">Advertising</a></li> <li><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/collectives" class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 40 })">Collectives</a></li> <li><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/talent" class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 20 })">Talent</a></li> </ul> </div> <div class="site-footer--col"> <h5 class="-title"><a class="js-gps-track" data-gps-track="footer.click({ location: 5, link: 1 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/">Company</a></h5> <ul class="-list"> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 1 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/">About</a></li> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 27 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/company/press">Press</a></li> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 9 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/company/work-here">Work Here</a></li> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 7 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/legal">Legal</a></li> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 8 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/legal/privacy-policy">Privacy Policy</a></li> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 37 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/legal/terms-of-service">Terms of Service</a></li> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 13 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.co/company/contact">Contact Us</a></li> <li class="" id="consent-footer-link"><a class="js-gps-track -link js-cookie-settings" data-gps-track="footer.click({ location: 5, link: 38 })" href="#" data-consent-popup-loader="footer">Cookie Settings</a></li> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link: 39 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/legal/cookie-policy">Cookie Policy</a></li> </ul> </div> <div class="site-footer--col site-footer--categories-nav"> <div> <h5 class="-title"><a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/" data-gps-track="footer.click({ location: 5, link: 30 })">Stack Exchange Network</a></h5> <ul class="-list"> <li> <a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/sites#technology" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> Technology </a> </li> <li> <a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/sites#culturerecreation" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> Culture & recreation </a> </li> <li> <a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/sites#lifearts" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> Life & arts </a> </li> <li> <a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/sites#science" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> Science </a> </li> <li> <a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/sites#professional" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> Professional </a> </li> <li> <a href="https://web.archive.org/web/20230306155558/https://stackexchange.com/sites#business" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> Business </a> </li> <li class="mt16 md:mt0"> <a href="https://web.archive.org/web/20230306155558/https://api.stackexchange.com/" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> API </a> </li> <li> <a href="https://web.archive.org/web/20230306155558/https://data.stackexchange.com/" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 24 })"> Data </a> </li> </ul> </div> </div> </nav> <div class="site-footer--copyright fs-fine md:mt24"> <ul class="-list -social md:mb8"> <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 5, link:4 })" href="https://web.archive.org/web/20230306155558/https://stackoverflow.blog/?blb=1">Blog</a></li> <li><a href="https://web.archive.org/web/20230306155558/https://www.facebook.com/officialstackoverflow/" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 31 })">Facebook</a></li> <li><a href="https://web.archive.org/web/20230306155558/https://twitter.com/stackoverflow" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 32 })">Twitter</a></li> <li><a href="https://web.archive.org/web/20230306155558/https://linkedin.com/company/stack-overflow" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 33 })">LinkedIn</a></li> <li><a href="https://web.archive.org/web/20230306155558/https://www.instagram.com/thestackoverflow" class="-link js-gps-track" data-gps-track="footer.click({ location: 5, link: 36 })">Instagram</a></li> </ul> <p class="md:mb0"> Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under <span class="td-underline"><a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/help/licensing">CC BY-SA</a></span>. <span id="svnrev">rev 2023.3.3.43278</span> </p> </div> </div> </footer> <!-- Google tag (gtag.js) --> <script async src="https://web.archive.org/web/20230306155558js_/https://www.googletagmanager.com/gtag/js?id=G-WCZ03SZFCQ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } </script> <script> StackExchange.ready(function() { var ga3Settings = { autoLink: ["stackoverflow.blog","info.stackoverflowsolutions.com","stackoverflowsolutions.com"], sendTitles: true, tracker: window.ga, trackingCodes: [ 'UA-108242619-1' ], checkDimension: 'dimension42' }; var customGA4Dimensions = {}; var ga4Settings = { tracker: gtag, trackingCodes: [ 'G-WCZ03SZFCQ' ], consentsToPerformanceCookies: "denied", consentsToTargetingCookies: "denied", eventParameters: customGA4Dimensions, checkForAdBlock: true }; StackExchange.ga.init({ GA3: ga3Settings, GA4: ga4Settings }); StackExchange.ga.setDimension('dimension2', '|c|'); StackExchange.ga.setDimension('dimension3', 'Questions/ListByTag'); StackExchange.ga.setDimension('dimension7', "1678118158.776973553"); StackExchange.ga.trackPageView(); }); </script> <div class="ff-sans ps-fixed z-nav-fixed ws4 sm:w-auto p32 sm:p16 bg-black-750 fc-white bar-lg b16 l16 r16 js-consent-banner"> <svg aria-hidden="true" class="mln4 mb24 sm:d-none svg-spot spotCookieLg" style="color: var(--theme-button-filled-background-color)" width="96" height="96" viewbox="0 0 96 96"> <path d="M35 45.5a7.5 7.5 0 11-15 0 7.5 7.5 0 0115 0zM63.5 63a7.5 7.5 0 100-15 7.5 7.5 0 000 15zm-19 19a7.5 7.5 0 100-15 7.5 7.5 0 000 15z" opacity=".2"/> <path d="M56.99 2.53a23.1 23.1 0 0114.66 6.15h.01l.01.02c.57.55.61 1.27.5 1.74v.07a10.95 10.95 0 01-3.07 4.77 9 9 0 01-6.9 2.5 10.34 10.34 0 01-9.72-10.44v-.08a10 10 0 011.03-3.74l.01-.03.02-.02c.28-.5.82-.92 1.52-.95.63-.02 1.27-.02 1.93.01zm12.04 7.83a20.1 20.1 0 00-12.2-4.83l-.92-.03c-.23.6-.38 1.25-.43 1.94a7.34 7.34 0 006.95 7.34 6 6 0 004.64-1.7c.94-.88 1.6-1.9 1.96-2.72zm15.3 8.76a6.84 6.84 0 00-5.09-.24 7.9 7.9 0 00-3.28 2.05 1.8 1.8 0 00-.3 1.95l.02.02v.02a15.16 15.16 0 008.74 7.47c.64.23 1.32.08 1.8-.33a6.63 6.63 0 001.63-1.97l.01-.03.01-.03c1.67-3.5-.12-7.32-3.54-8.91zm-5.5 3.28c.36-.25.82-.5 1.35-.67.92-.3 1.92-.35 2.89.1 2.14 1 2.92 3.14 2.11 4.88-.12.21-.26.41-.43.6l-.26-.1a12.29 12.29 0 01-5.66-4.81zM32 24a2 2 0 11-4 0 2 2 0 014 0zm12 21a2 2 0 11-4 0 2 2 0 014 0zm36 4a2 2 0 11-4 0 2 2 0 014 0zm-7 21a2 2 0 11-4 0 2 2 0 014 0zM59 81a2 2 0 11-4 0 2 2 0 014 0zM22 63a2 2 0 11-4 0 2 2 0 014 0zm27 7a9 9 0 11-18 0 9 9 0 0118 0zm-3 0a6 6 0 10-12 0 6 6 0 0012 0zM33 41a9 9 0 11-18 0 9 9 0 0118 0zm-15 0a6 6 0 1012 0 6 6 0 00-12 0zm50 11a9 9 0 11-18 0 9 9 0 0118 0zm-3 0a6 6 0 10-12 0 6 6 0 0012 0zM44.08 4.24c.31.48.33 1.09.05 1.58a17.46 17.46 0 00-2.36 8.8c0 9.55 7.58 17.24 16.85 17.24 2.97 0 5.75-.78 8.16-2.15a1.5 1.5 0 012.1.66 12.08 12.08 0 0011 6.74 12.4 12.4 0 007.85-2.75 1.5 1.5 0 012.38.74A45.76 45.76 0 0192 48.16c0 24.77-19.67 44.9-44 44.9S4 72.93 4 48.16C4 25.23 20.84 6.28 42.64 3.58a1.5 1.5 0 011.44.66zM40.22 7C21.32 10.71 7 27.7 7 48.16c0 23.17 18.39 41.9 41 41.9s41-18.73 41-41.9c0-3.52-.42-6.93-1.22-10.2a15.5 15.5 0 01-7.9 2.15c-5.5 0-10.36-2.83-12.97-7.1a19.46 19.46 0 01-8.28 1.85c-11 0-19.86-9.1-19.86-20.24 0-2.7.52-5.26 1.45-7.62zM92 91a2 2 0 100-4 2 2 0 000 4zM7 8.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zM82.5 90a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm9.5-7.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13.5 8a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM80 14.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM53.5 20a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"/> </svg> <p class="fs-body2 fw-bold mb4"> Your privacy </p> <p class="mb16 s-anchors s-anchors__inherit s-anchors__underlined"> By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our <a href="https://web.archive.org/web/20230306155558/https://stackoverflow.com/legal/cookie-policy">Cookie Policy</a>. </p> <div class="d-flex gs8 sm:fd-column"> <button class="flex--item6 s-btn s-btn__primary js-accept-cookies js-consent-banner-hide"> Accept all cookies </button> <button class="flex--item6 s-btn s-btn__primary js-reject-cookies js-consent-banner-hide"> Necessary cookies only </button> </div> <div class="d-flex mt8 sm:fd-column"> <button class="flex--item12 s-btn s-btn__filled js-cookie-settings" data-consent-popup-loader="banner"> Customize settings </button> </div> </div> <div id="onetrust-consent-sdk" class="d-none"></div> <div id="onetrust-banner-sdk" data-controller="s-modal"></div> <div id="ot-pc-content" class="d-none"></div> <div id="onetrust-style" class="d-none"> </div> <div class="d-none js-consent-banner-version" data-consent-banner-version="a1"></div> </body> </html> <!-- FILE ARCHIVED ON 15:55:58 Mar 06, 2023 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 01:06:11 Feb 28, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.51 exclusion.robots: 0.026 exclusion.robots.policy: 0.016 esindex: 0.012 cdx.remote: 105.882 LoadShardBlock: 360.849 (3) PetaboxLoader3.datanode: 306.228 (4) PetaboxLoader3.resolve: 760.302 (2) load_resource: 782.339 -->