CINXE.COM

C (programski jezik) – Wikipedija

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="hr" dir="ltr"> <head> <meta charset="UTF-8"> <title>C (programski jezik) – Wikipedija</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )hrwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy hr","wgMonthNames":["","siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],"wgRequestId":"0cd3528c-78ef-4974-a748-8d06d00ba11b","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"C_(programski_jezik)","wgTitle":"C (programski jezik)","wgCurRevisionId":6762871,"wgRevisionId":6762871,"wgArticleId":11198,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Programski jezici"],"wgPageViewLanguage":"hr","wgPageContentLanguage":"hr","wgPageContentModel":"wikitext","wgRelevantPageName":"C_(programski_jezik)","wgRelevantArticleId":11198,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags" :0,"wgVisualEditor":{"pageLanguageCode":"hr","pageLanguageDir":"ltr","pageVariantFallbacks":"hr"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":30000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q15777","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false,"wgSiteNoticeId":"2.5"};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user": "ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.Web2Cit","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions", "wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking","ext.dismissableSiteNotice"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=hr&amp;modules=ext.cite.styles%7Cext.dismissableSiteNotice.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=hr&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=hr&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="C (programski jezik) – Wikipedija"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//hr.m.wikipedia.org/wiki/C_(programski_jezik)"> <link rel="alternate" type="application/x-wiki" title="Uredi" href="/w/index.php?title=C_(programski_jezik)&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedija (hr)"> <link rel="EditURI" type="application/rsd+xml" href="//hr.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://hr.wikipedia.org/wiki/C_(programski_jezik)"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.hr"> <link rel="alternate" type="application/atom+xml" title="Wikipedija Atom izvor" href="/w/index.php?title=Posebno:Nedavne_promjene&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-C_programski_jezik rootpage-C_programski_jezik skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Prijeđi na sadržaj</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Mrežno mjesto"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Glavni izbornik" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Glavni izbornik</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Glavni izbornik</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">sakrij</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Orijentacija </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Glavna_stranica" title="Posjeti glavnu stranicu [z]" accesskey="z"><span>Glavna stranica</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedija:Sadr%C5%BEaj"><span>Sadržaj</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Posebno:Slu%C4%8Dajna_stranica" title="Učitavanje slučajne stranice [x]" accesskey="x"><span>Slučajna stranica</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Posebno:Nedavne_promjene" title="Popis nedavnih promjena u wikiju [r]" accesskey="r"><span>Nedavne promjene</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedija:Kafi%C4%87" title="O projektu, što možete učiniti, gdje se što nalazi"><span>Kafić</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Pomo%C4%87:Sadr%C5%BEaj" title="Mjesto gdje se može dobiti pomoć"><span>Pomoć</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Glavna_stranica" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedija" src="/static/images/mobile/copyright/wikipedia-wordmark-hr.svg" style="width: 7.5em; height: 1.375em;"> <img class="mw-logo-tagline" alt="Slobodna enciklopedija" src="/static/images/mobile/copyright/wikipedia-tagline-hr.svg" width="120" height="13" style="width: 7.5em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Posebno:Tra%C5%BEi" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Pretraži Wikipediju [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Traži</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Pretraži projekt Wikipedija" aria-label="Pretraži projekt Wikipedija" autocapitalize="sentences" title="Pretraži Wikipediju [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Posebno:Traži"> </div> <button class="cdx-button cdx-search-input__end-button">Traži</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Osobni alati"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Izgled"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Izgled" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Izgled</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_hr.wikipedia.org&amp;uselang=hr" class=""><span>Donacije</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Posebno:Stvori_ra%C4%8Dun&amp;returnto=C+%28programski+jezik%29" title="Predlažemo Vam da stvorite račun i prijavite se, iako to nije obavezno" class=""><span>Stvori račun</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Posebno:Prijava&amp;returnto=C+%28programski+jezik%29" title="Predlažemo Vam da se prijavite, iako to nije obavezno [o]" accesskey="o" class=""><span>Prijavi se</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Više mogućnosti" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Osobni alati" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Osobni alati</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Suradnički izbornik" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_hr.wikipedia.org&amp;uselang=hr"><span>Donacije</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Posebno:Stvori_ra%C4%8Dun&amp;returnto=C+%28programski+jezik%29" title="Predlažemo Vam da stvorite račun i prijavite se, iako to nije obavezno"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Stvori račun</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Posebno:Prijava&amp;returnto=C+%28programski+jezik%29" title="Predlažemo Vam da se prijavite, iako to nije obavezno [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Prijavi se</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Stranice za neprijavljene suradnike <a href="/wiki/Pomo%C4%87:Uvod" aria-label="Vidi više o uređivanju"><span>saznajte više</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Posebno:Moji_doprinosi" title="Popis uređivanja učinjenih s ove IP adrese [y]" accesskey="y"><span>Doprinosi</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Posebno:Moj_razgovor" title="Rasprava o uređivanjima s ove IP adrese [n]" accesskey="n"><span>Razgovor</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E[\u003Ca tabindex=\"0\" role=\"button\"\u003Esakrij\u003C/a\u003E]\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"sitenotice\" lang=\"hr\" dir=\"ltr\"\u003E\u003Ctable class=\"plainlinks fmbox fmbox-system\" style=\"clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; background: #f9f9f9; border:1px solid #E3B100;\"\u003E\n\u003Ctbody\u003E\u003Ctr\u003E\t\n\u003Ctd class=\"mbox-image\"\u003E\n \u003Cspan typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/Marko_Maruli%C4%87\" title=\"Marko Marulić\"\u003E\u003Cimg src=\"//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikipedia_Puzzleball_Maruli%C4%87_500.png/40px-Wikipedia_Puzzleball_Maruli%C4%87_500.png\" decoding=\"async\" width=\"40\" height=\"40\" class=\"mw-file-element\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikipedia_Puzzleball_Maruli%C4%87_500.png/60px-Wikipedia_Puzzleball_Maruli%C4%87_500.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikipedia_Puzzleball_Maruli%C4%87_500.png/80px-Wikipedia_Puzzleball_Maruli%C4%87_500.png 2x\" data-file-width=\"640\" data-file-height=\"640\" /\u003E\u003C/a\u003E\u003C/span\u003E\u003C/td\u003E\n\u003Ctd class=\"mbox-text\" style=\"\"\u003E \u003Cb\u003EGodina \u003Ca href=\"/wiki/Marko_Maruli%C4%87\" title=\"Marko Marulić\"\u003EMarka Marulića\u003C/a\u003E\u003C/b\u003E – 500 godina od smrti oca hrvatske književnosti. \u003C/td\u003E\n\u003C/tr\u003E\n\u003C/tbody\u003E\u003C/table\u003E\n\u003Ctable class=\"plainlinks fmbox fmbox-system\" style=\"clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; background: #f9f9f9; border:1px solid #eaa;\"\u003E\n\u003Ctbody\u003E\u003Ctr\u003E\t\n\u003Ctd class=\"mbox-image\"\u003E\n \u003Cspan typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/Wikipedija:Kriteriji_zna%C4%8Dajnosti_po_temama\" title=\"Wikipedija:Kriteriji značajnosti po temama\"\u003E\u003Cimg src=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/36/Help-content.svg/22px-Help-content.svg.png\" decoding=\"async\" width=\"22\" height=\"22\" class=\"mw-file-element\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/36/Help-content.svg/33px-Help-content.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/36/Help-content.svg/44px-Help-content.svg.png 2x\" data-file-width=\"48\" data-file-height=\"48\" /\u003E\u003C/a\u003E\u003C/span\u003E\u003C/td\u003E\n\u003Ctd class=\"mbox-text\" style=\"\"\u003E \u003Ca href=\"/wiki/Wikipedija:Kriteriji_zna%C4%8Dajnosti_po_temama\" title=\"Wikipedija:Kriteriji značajnosti po temama\"\u003ERaspravite \u003Cb\u003Erazradu po temama kriterija\u003C/b\u003E o značajnosti!\u003C/a\u003E \u003C/td\u003E\n\u003C/tr\u003E\n\u003C/tbody\u003E\u003C/table\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Mrežno mjesto"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Sadržaj" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Sadržaj</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">sakrij</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Početak</div> </a> </li> <li id="toc-Povijest_razvoja" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Povijest_razvoja"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Povijest razvoja</span> </div> </a> <ul id="toc-Povijest_razvoja-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Proširivanje_na_objektno_orijentirano_programiranje" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Proširivanje_na_objektno_orijentirano_programiranje"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Proširivanje na objektno orijentirano programiranje</span> </div> </a> <ul id="toc-Proširivanje_na_objektno_orijentirano_programiranje-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Uporaba" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Uporaba"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Uporaba</span> </div> </a> <ul id="toc-Uporaba-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Problemi" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Problemi"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Problemi</span> </div> </a> <ul id="toc-Problemi-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Standardi" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Standardi"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Standardi</span> </div> </a> <button aria-controls="toc-Standardi-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Sadržaj cjeline Standardi</span> </button> <ul id="toc-Standardi-sublist" class="vector-toc-list"> <li id="toc-K&amp;R_C" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#K&amp;R_C"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.1</span> <span>K&amp;R C</span> </div> </a> <ul id="toc-K&amp;R_C-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ISO_C_/_ANSI_C" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ISO_C_/_ANSI_C"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.2</span> <span>ISO C / ANSI C</span> </div> </a> <ul id="toc-ISO_C_/_ANSI_C-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-C99[1]" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#C99[1]"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.3</span> <span>C99<sup><span>[</span>1<span>]</span></sup></span> </div> </a> <ul id="toc-C99[1]-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-C11" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#C11"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.4</span> <span>C11</span> </div> </a> <ul id="toc-C11-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-C17" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#C17"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.5</span> <span>C17</span> </div> </a> <ul id="toc-C17-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Skup_znakova" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Skup_znakova"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Skup znakova</span> </div> </a> <ul id="toc-Skup_znakova-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Ključne_riječi" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Ključne_riječi"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Ključne riječi</span> </div> </a> <ul id="toc-Ključne_riječi-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Struktura_programa_pisanog_u_C-u" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Struktura_programa_pisanog_u_C-u"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Struktura programa pisanog u C-u</span> </div> </a> <ul id="toc-Struktura_programa_pisanog_u_C-u-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Programski_primjer" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Programski_primjer"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Programski primjer</span> </div> </a> <ul id="toc-Programski_primjer-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Funkcije_za_ispis" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Funkcije_za_ispis"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Funkcije za ispis</span> </div> </a> <button aria-controls="toc-Funkcije_za_ispis-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Sadržaj cjeline Funkcije za ispis</span> </button> <ul id="toc-Funkcije_za_ispis-sublist" class="vector-toc-list"> <li id="toc-Ispis_teksta" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Ispis_teksta"> <div class="vector-toc-text"> <span class="vector-toc-numb">10.1</span> <span>Ispis teksta</span> </div> </a> <ul id="toc-Ispis_teksta-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Ispis_vrijednosti" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Ispis_vrijednosti"> <div class="vector-toc-text"> <span class="vector-toc-numb">10.2</span> <span>Ispis vrijednosti</span> </div> </a> <ul id="toc-Ispis_vrijednosti-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Aritmetički_operatori" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Aritmetički_operatori"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>Aritmetički operatori</span> </div> </a> <ul id="toc-Aritmetički_operatori-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Učitavanje_podataka" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Učitavanje_podataka"> <div class="vector-toc-text"> <span class="vector-toc-numb">12</span> <span>Učitavanje podataka</span> </div> </a> <button aria-controls="toc-Učitavanje_podataka-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Sadržaj cjeline Učitavanje podataka</span> </button> <ul id="toc-Učitavanje_podataka-sublist" class="vector-toc-list"> <li id="toc-Identifikatori" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Identifikatori"> <div class="vector-toc-text"> <span class="vector-toc-numb">12.1</span> <span>Identifikatori</span> </div> </a> <ul id="toc-Identifikatori-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Konstante" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Konstante"> <div class="vector-toc-text"> <span class="vector-toc-numb">12.2</span> <span>Konstante</span> </div> </a> <ul id="toc-Konstante-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Funkcije_za_učitavanje" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Funkcije_za_učitavanje"> <div class="vector-toc-text"> <span class="vector-toc-numb">12.3</span> <span>Funkcije za učitavanje</span> </div> </a> <ul id="toc-Funkcije_za_učitavanje-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Deklaracija_varijabli_u_C-u" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Deklaracija_varijabli_u_C-u"> <div class="vector-toc-text"> <span class="vector-toc-numb">13</span> <span>Deklaracija varijabli u C-u</span> </div> </a> <ul id="toc-Deklaracija_varijabli_u_C-u-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Naredba_pridruživanja" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Naredba_pridruživanja"> <div class="vector-toc-text"> <span class="vector-toc-numb">14</span> <span>Naredba pridruživanja</span> </div> </a> <ul id="toc-Naredba_pridruživanja-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Biblioteke_programa" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Biblioteke_programa"> <div class="vector-toc-text"> <span class="vector-toc-numb">15</span> <span>Biblioteke programa</span> </div> </a> <ul id="toc-Biblioteke_programa-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Poznate_inačice" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Poznate_inačice"> <div class="vector-toc-text"> <span class="vector-toc-numb">16</span> <span>Poznate inačice</span> </div> </a> <ul id="toc-Poznate_inačice-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Izvori" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Izvori"> <div class="vector-toc-text"> <span class="vector-toc-numb">17</span> <span>Izvori</span> </div> </a> <ul id="toc-Izvori-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Vanjske_poveznice" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Vanjske_poveznice"> <div class="vector-toc-text"> <span class="vector-toc-numb">18</span> <span>Vanjske poveznice</span> </div> </a> <ul id="toc-Vanjske_poveznice-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Sadržaj" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Prikaz sadržaja stranice" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Prikaz sadržaja stranice</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">C (programski jezik)</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Idi na druge jezične varijante članka. Dostupan je na 123 jezika" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-123" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">123 jezika</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-af mw-list-item"><a href="https://af.wikipedia.org/wiki/C_(programmeertaal)" title="C (programmeertaal) – afrikaans" lang="af" hreflang="af" data-title="C (programmeertaal)" data-language-autonym="Afrikaans" data-language-local-name="afrikaans" class="interlanguage-link-target"><span>Afrikaans</span></a></li><li class="interlanguage-link interwiki-als mw-list-item"><a href="https://als.wikipedia.org/wiki/C_(Programmiersprache)" title="C (Programmiersprache) – švicarski njemački" lang="gsw" hreflang="gsw" data-title="C (Programmiersprache)" data-language-autonym="Alemannisch" data-language-local-name="švicarski njemački" class="interlanguage-link-target"><span>Alemannisch</span></a></li><li class="interlanguage-link interwiki-am mw-list-item"><a href="https://am.wikipedia.org/wiki/%E1%88%B2_(%E1%8B%A8%E1%8A%AE%E1%88%9D%E1%8D%92%E1%8B%A9%E1%89%B0%E1%88%AD_%E1%8D%8D%E1%88%AD%E1%8C%88%E1%88%9B_%E1%89%8B%E1%8A%95%E1%89%8B)" title="ሲ (የኮምፒዩተር ፍርገማ ቋንቋ) – amharski" lang="am" hreflang="am" data-title="ሲ (የኮምፒዩተር ፍርገማ ቋንቋ)" data-language-autonym="አማርኛ" data-language-local-name="amharski" class="interlanguage-link-target"><span>አማርኛ</span></a></li><li class="interlanguage-link interwiki-an mw-list-item"><a href="https://an.wikipedia.org/wiki/Luengache_de_programaci%C3%B3n_C" title="Luengache de programación C – aragonski" lang="an" hreflang="an" data-title="Luengache de programación C" data-language-autonym="Aragonés" data-language-local-name="aragonski" class="interlanguage-link-target"><span>Aragonés</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%B3%D9%8A_(%D9%84%D8%BA%D8%A9_%D8%A8%D8%B1%D9%85%D8%AC%D8%A9)" title="سي (لغة برمجة) – arapski" lang="ar" hreflang="ar" data-title="سي (لغة برمجة)" data-language-autonym="العربية" data-language-local-name="arapski" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-ary mw-list-item"><a href="https://ary.wikipedia.org/wiki/%D8%B3%D9%8A_(%D9%84%D9%88%D9%86%DA%AD%D8%A7%D8%AC)" title="سي (لونڭاج) – Moroccan Arabic" lang="ary" hreflang="ary" data-title="سي (لونڭاج)" data-language-autonym="الدارجة" data-language-local-name="Moroccan Arabic" class="interlanguage-link-target"><span>الدارجة</span></a></li><li class="interlanguage-link interwiki-as mw-list-item"><a href="https://as.wikipedia.org/wiki/%E0%A6%9A%E0%A6%BF_(%E0%A6%AA%E0%A7%8D%E0%A7%B0%E0%A6%97%E0%A7%8D%E0%A7%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%B2%E0%A7%87%E0%A6%82%E0%A6%97%E0%A7%81%E0%A7%B1%E0%A7%87%E0%A6%9C)" title="চি (প্ৰগ্ৰামিং লেংগুৱেজ) – asamski" lang="as" hreflang="as" data-title="চি (প্ৰগ্ৰামিং লেংগুৱেজ)" data-language-autonym="অসমীয়া" data-language-local-name="asamski" class="interlanguage-link-target"><span>অসমীয়া</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/Llinguaxe_de_programaci%C3%B3n_C" title="Llinguaxe de programación C – asturijski" lang="ast" hreflang="ast" data-title="Llinguaxe de programación C" data-language-autonym="Asturianu" data-language-local-name="asturijski" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/C_(proqramla%C5%9Fd%C4%B1rma_dili)" title="C (proqramlaşdırma dili) – azerbajdžanski" lang="az" hreflang="az" data-title="C (proqramlaşdırma dili)" data-language-autonym="Azərbaycanca" data-language-local-name="azerbajdžanski" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-azb mw-list-item"><a href="https://azb.wikipedia.org/wiki/%D8%B3%DB%8C_(%DB%8C%D8%A7%D8%B2%DB%8C%D9%84%DB%8C%D9%85%D9%84%D8%A7%D9%85%D8%A7_%D8%AF%DB%8C%D9%84%DB%8C)" title="سی (یازیلیملاما دیلی) – South Azerbaijani" lang="azb" hreflang="azb" data-title="سی (یازیلیملاما دیلی)" data-language-autonym="تۆرکجه" data-language-local-name="South Azerbaijani" class="interlanguage-link-target"><span>تۆرکجه</span></a></li><li class="interlanguage-link interwiki-bat-smg mw-list-item"><a href="https://bat-smg.wikipedia.org/wiki/C_(kalba)" title="C (kalba) – Samogitian" lang="sgs" hreflang="sgs" data-title="C (kalba)" data-language-autonym="Žemaitėška" data-language-local-name="Samogitian" class="interlanguage-link-target"><span>Žemaitėška</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/C_(%D0%BC%D0%BE%D0%B2%D0%B0_%D0%BF%D1%80%D0%B0%D0%B3%D1%80%D0%B0%D0%BC%D0%B0%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F)" title="C (мова праграмавання) – bjeloruski" lang="be" hreflang="be" data-title="C (мова праграмавання)" data-language-autonym="Беларуская" data-language-local-name="bjeloruski" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/C_(%D0%BC%D0%BE%D0%B2%D0%B0_%D0%BF%D1%80%D0%B0%D0%B3%D1%80%D0%B0%D0%BC%D0%B0%D0%B2%D0%B0%D0%BD%D1%8C%D0%BD%D1%8F)" title="C (мова праграмаваньня) – Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="C (мова праграмаваньня)" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/C_(%D0%B5%D0%B7%D0%B8%D0%BA_%D0%B7%D0%B0_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%B8%D1%80%D0%B0%D0%BD%D0%B5)" title="C (език за програмиране) – bugarski" lang="bg" hreflang="bg" data-title="C (език за програмиране)" data-language-autonym="Български" data-language-local-name="bugarski" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bh mw-list-item"><a href="https://bh.wikipedia.org/wiki/%E0%A4%B8%E0%A5%80_(%E0%A4%AA%E0%A5%8D%E0%A4%B0%E0%A5%8B%E0%A4%97%E0%A5%8D%E0%A4%B0%E0%A4%BE%E0%A4%AE%E0%A4%BF%E0%A4%82%E0%A4%97_%E0%A4%AD%E0%A4%BE%E0%A4%B7%E0%A4%BE)" title="सी (प्रोग्रामिंग भाषा) – Bhojpuri" lang="bh" hreflang="bh" data-title="सी (प्रोग्रामिंग भाषा)" data-language-autonym="भोजपुरी" data-language-local-name="Bhojpuri" class="interlanguage-link-target"><span>भोजपुरी</span></a></li><li class="interlanguage-link interwiki-blk mw-list-item"><a href="https://blk.wikipedia.org/wiki/C_(%E1%80%95%E1%80%9B%E1%80%AD%E1%80%AF%E1%80%82%E1%80%9B%E1%80%99%E1%80%BA%E1%80%99%E1%80%AD%E1%80%89%E1%80%BA%E1%80%B8%E1%80%98%E1%80%AC%E1%82%8F%E1%80%9E%E1%80%AC%E1%82%8F%E1%80%84%E1%80%9D%E1%80%BA%E1%80%B8%E1%80%84%E1%80%BD%E1%80%AB)" title="C (ပရိုဂရမ်မိဉ်းဘာႏသာႏငဝ်းငွါ) – Pa&#039;O" lang="blk" hreflang="blk" data-title="C (ပရိုဂရမ်မိဉ်းဘာႏသာႏငဝ်းငွါ)" data-language-autonym="ပအိုဝ်ႏဘာႏသာႏ" data-language-local-name="Pa&#039;O" class="interlanguage-link-target"><span>ပအိုဝ်ႏဘာႏသာႏ</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%B8%E0%A6%BF_(%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE)" title="সি (প্রোগ্রামিং ভাষা) – bangla" lang="bn" hreflang="bn" data-title="সি (প্রোগ্রামিং ভাষা)" data-language-autonym="বাংলা" data-language-local-name="bangla" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-br mw-list-item"><a href="https://br.wikipedia.org/wiki/C_(lavar_programmi%C3%B1)" title="C (lavar programmiñ) – bretonski" lang="br" hreflang="br" data-title="C (lavar programmiñ)" data-language-autonym="Brezhoneg" data-language-local-name="bretonski" class="interlanguage-link-target"><span>Brezhoneg</span></a></li><li class="interlanguage-link interwiki-bs mw-list-item"><a href="https://bs.wikipedia.org/wiki/C_(programski_jezik)" title="C (programski jezik) – bosanski" lang="bs" hreflang="bs" data-title="C (programski jezik)" data-language-autonym="Bosanski" data-language-local-name="bosanski" class="interlanguage-link-target"><span>Bosanski</span></a></li><li class="interlanguage-link interwiki-bug mw-list-item"><a href="https://bug.wikipedia.org/wiki/C_(basa_maprogram)" title="C (basa maprogram) – buginski" lang="bug" hreflang="bug" data-title="C (basa maprogram)" data-language-autonym="Basa Ugi" data-language-local-name="buginski" class="interlanguage-link-target"><span>Basa Ugi</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Llenguatge_C" title="Llenguatge C – katalonski" lang="ca" hreflang="ca" data-title="Llenguatge C" data-language-autonym="Català" data-language-local-name="katalonski" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cdo mw-list-item"><a href="https://cdo.wikipedia.org/wiki/C_ng%E1%B9%B3%CC%84-ngi%C3%B2ng" title="C ngṳ̄-ngiòng – Mindong" lang="cdo" hreflang="cdo" data-title="C ngṳ̄-ngiòng" data-language-autonym="閩東語 / Mìng-dĕ̤ng-ngṳ̄" data-language-local-name="Mindong" class="interlanguage-link-target"><span>閩東語 / Mìng-dĕ̤ng-ngṳ̄</span></a></li><li class="interlanguage-link interwiki-co mw-list-item"><a href="https://co.wikipedia.org/wiki/C_(linguagiu_di_prugrammazione)" title="C (linguagiu di prugrammazione) – korzički" lang="co" hreflang="co" data-title="C (linguagiu di prugrammazione)" data-language-autonym="Corsu" data-language-local-name="korzički" class="interlanguage-link-target"><span>Corsu</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/C_(programovac%C3%AD_jazyk)" title="C (programovací jazyk) – češki" lang="cs" hreflang="cs" data-title="C (programovací jazyk)" data-language-autonym="Čeština" data-language-local-name="češki" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-cv mw-list-item"><a href="https://cv.wikipedia.org/wiki/%D0%A1%D0%B8_(%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80_%D1%87%C4%95%D0%BB%D1%85%D0%B8)" title="Си (компьютер чĕлхи) – čuvaški" lang="cv" hreflang="cv" data-title="Си (компьютер чĕлхи)" data-language-autonym="Чӑвашла" data-language-local-name="čuvaški" class="interlanguage-link-target"><span>Чӑвашла</span></a></li><li class="interlanguage-link interwiki-cy mw-list-item"><a href="https://cy.wikipedia.org/wiki/C_(iaith_raglennu)" title="C (iaith raglennu) – velški" lang="cy" hreflang="cy" data-title="C (iaith raglennu)" data-language-autonym="Cymraeg" data-language-local-name="velški" class="interlanguage-link-target"><span>Cymraeg</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/C_(programmeringssprog)" title="C (programmeringssprog) – danski" lang="da" hreflang="da" data-title="C (programmeringssprog)" data-language-autonym="Dansk" data-language-local-name="danski" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/C_(Programmiersprache)" title="C (Programmiersprache) – njemački" lang="de" hreflang="de" data-title="C (Programmiersprache)" data-language-autonym="Deutsch" data-language-local-name="njemački" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/C_(%CE%B3%CE%BB%CF%8E%CF%83%CF%83%CE%B1_%CF%80%CF%81%CE%BF%CE%B3%CF%81%CE%B1%CE%BC%CE%BC%CE%B1%CF%84%CE%B9%CF%83%CE%BC%CE%BF%CF%8D)" title="C (γλώσσα προγραμματισμού) – grčki" lang="el" hreflang="el" data-title="C (γλώσσα προγραμματισμού)" data-language-autonym="Ελληνικά" data-language-local-name="grčki" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/C_(programming_language)" title="C (programming language) – engleski" lang="en" hreflang="en" data-title="C (programming language)" data-language-autonym="English" data-language-local-name="engleski" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/C_(programlingvo)" title="C (programlingvo) – esperanto" lang="eo" hreflang="eo" data-title="C (programlingvo)" data-language-autonym="Esperanto" data-language-local-name="esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/C_(lenguaje_de_programaci%C3%B3n)" title="C (lenguaje de programación) – španjolski" lang="es" hreflang="es" data-title="C (lenguaje de programación)" data-language-autonym="Español" data-language-local-name="španjolski" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/C_(programmeerimiskeel)" title="C (programmeerimiskeel) – estonski" lang="et" hreflang="et" data-title="C (programmeerimiskeel)" data-language-autonym="Eesti" data-language-local-name="estonski" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/C_(programazio_lengoaia)" title="C (programazio lengoaia) – baskijski" lang="eu" hreflang="eu" data-title="C (programazio lengoaia)" data-language-autonym="Euskara" data-language-local-name="baskijski" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%B3%DB%8C_(%D8%B2%D8%A8%D8%A7%D9%86_%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87%E2%80%8C%D9%86%D9%88%DB%8C%D8%B3%DB%8C)" title="سی (زبان برنامه‌نویسی) – perzijski" lang="fa" hreflang="fa" data-title="سی (زبان برنامه‌نویسی)" data-language-autonym="فارسی" data-language-local-name="perzijski" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/C_(ohjelmointikieli)" title="C (ohjelmointikieli) – finski" lang="fi" hreflang="fi" data-title="C (ohjelmointikieli)" data-language-autonym="Suomi" data-language-local-name="finski" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/C_(langage)" title="C (langage) – francuski" lang="fr" hreflang="fr" data-title="C (langage)" data-language-autonym="Français" data-language-local-name="francuski" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/C_(Teanga_r%C3%ADomhchl%C3%A1r%C3%BAch%C3%A1in)" title="C (Teanga ríomhchlárúcháin) – irski" lang="ga" hreflang="ga" data-title="C (Teanga ríomhchlárúcháin)" data-language-autonym="Gaeilge" data-language-local-name="irski" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/C_(linguaxe_de_programaci%C3%B3n)" title="C (linguaxe de programación) – galicijski" lang="gl" hreflang="gl" data-title="C (linguaxe de programación)" data-language-autonym="Galego" data-language-local-name="galicijski" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/C_(%E0%AA%AA%E0%AB%8D%E0%AA%B0%E0%AB%8B%E0%AA%97%E0%AB%8D%E0%AA%B0%E0%AA%BE%E0%AA%AE%E0%AA%BF%E0%AA%82%E0%AA%97_%E0%AA%AD%E0%AA%BE%E0%AA%B7%E0%AA%BE)" title="C (પ્રોગ્રામિંગ ભાષા) – gudžaratski" lang="gu" hreflang="gu" data-title="C (પ્રોગ્રામિંગ ભાષા)" data-language-autonym="ગુજરાતી" data-language-local-name="gudžaratski" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-ha mw-list-item"><a href="https://ha.wikipedia.org/wiki/C_programming_language" title="C programming language – hausa" lang="ha" hreflang="ha" data-title="C programming language" data-language-autonym="Hausa" data-language-local-name="hausa" class="interlanguage-link-target"><span>Hausa</span></a></li><li class="interlanguage-link interwiki-hak mw-list-item"><a href="https://hak.wikipedia.org/wiki/C_ng%C3%AE-ngi%C3%A8n" title="C ngî-ngièn – hakka kineski" lang="hak" hreflang="hak" data-title="C ngî-ngièn" data-language-autonym="客家語 / Hak-kâ-ngî" data-language-local-name="hakka kineski" class="interlanguage-link-target"><span>客家語 / Hak-kâ-ngî</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/C_(%D7%A9%D7%A4%D7%AA_%D7%AA%D7%9B%D7%A0%D7%95%D7%AA)" title="C (שפת תכנות) – hebrejski" lang="he" hreflang="he" data-title="C (שפת תכנות)" data-language-autonym="עברית" data-language-local-name="hebrejski" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%B8%E0%A5%80_(%E0%A4%AA%E0%A5%8D%E0%A4%B0%E0%A5%8B%E0%A4%97%E0%A5%8D%E0%A4%B0%E0%A4%BE%E0%A4%AE%E0%A4%BF%E0%A4%82%E0%A4%97_%E0%A4%AD%E0%A4%BE%E0%A4%B7%E0%A4%BE)" title="सी (प्रोग्रामिंग भाषा) – hindski" lang="hi" hreflang="hi" data-title="सी (प्रोग्रामिंग भाषा)" data-language-autonym="हिन्दी" data-language-local-name="hindski" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/C_(programoz%C3%A1si_nyelv)" title="C (programozási nyelv) – mađarski" lang="hu" hreflang="hu" data-title="C (programozási nyelv)" data-language-autonym="Magyar" data-language-local-name="mađarski" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/%D5%8D%D5%AB_(%D5%AE%D6%80%D5%A1%D5%A3%D6%80%D5%A1%D5%BE%D5%B8%D6%80%D5%B4%D5%A1%D5%B6_%D5%AC%D5%A5%D5%A6%D5%B8%D6%82)" title="Սի (ծրագրավորման լեզու) – armenski" lang="hy" hreflang="hy" data-title="Սի (ծրագրավորման լեզու)" data-language-autonym="Հայերեն" data-language-local-name="armenski" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-ia mw-list-item"><a href="https://ia.wikipedia.org/wiki/C_(linguage_de_programmation)" title="C (linguage de programmation) – interlingua" lang="ia" hreflang="ia" data-title="C (linguage de programmation)" data-language-autonym="Interlingua" data-language-local-name="interlingua" class="interlanguage-link-target"><span>Interlingua</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/C_(bahasa_pemrograman)" title="C (bahasa pemrograman) – indonezijski" lang="id" hreflang="id" data-title="C (bahasa pemrograman)" data-language-autonym="Bahasa Indonesia" data-language-local-name="indonezijski" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/C_(programifo-linguo)" title="C (programifo-linguo) – ido" lang="io" hreflang="io" data-title="C (programifo-linguo)" data-language-autonym="Ido" data-language-local-name="ido" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/C_(forritunarm%C3%A1l)" title="C (forritunarmál) – islandski" lang="is" hreflang="is" data-title="C (forritunarmál)" data-language-autonym="Íslenska" data-language-local-name="islandski" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/C_(linguaggio_di_programmazione)" title="C (linguaggio di programmazione) – talijanski" lang="it" hreflang="it" data-title="C (linguaggio di programmazione)" data-language-autonym="Italiano" data-language-local-name="talijanski" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/C%E8%A8%80%E8%AA%9E" title="C言語 – japanski" lang="ja" hreflang="ja" data-title="C言語" data-language-autonym="日本語" data-language-local-name="japanski" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-jv mw-list-item"><a href="https://jv.wikipedia.org/wiki/C_(basa_pamrograman)" title="C (basa pamrograman) – javanski" lang="jv" hreflang="jv" data-title="C (basa pamrograman)" data-language-autonym="Jawa" data-language-local-name="javanski" class="interlanguage-link-target"><span>Jawa</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/C_(%E1%83%9E%E1%83%A0%E1%83%9D%E1%83%92%E1%83%A0%E1%83%90%E1%83%9B%E1%83%98%E1%83%A0%E1%83%94%E1%83%91%E1%83%98%E1%83%A1_%E1%83%94%E1%83%9C%E1%83%90)" title="C (პროგრამირების ენა) – gruzijski" lang="ka" hreflang="ka" data-title="C (პროგრამირების ენა)" data-language-autonym="ქართული" data-language-local-name="gruzijski" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-kaa mw-list-item"><a href="https://kaa.wikipedia.org/wiki/C" title="C – kara-kalpak" lang="kaa" hreflang="kaa" data-title="C" data-language-autonym="Qaraqalpaqsha" data-language-local-name="kara-kalpak" class="interlanguage-link-target"><span>Qaraqalpaqsha</span></a></li><li class="interlanguage-link interwiki-kab mw-list-item"><a href="https://kab.wikipedia.org/wiki/C_(tutlayt)" title="C (tutlayt) – kabilski" lang="kab" hreflang="kab" data-title="C (tutlayt)" data-language-autonym="Taqbaylit" data-language-local-name="kabilski" class="interlanguage-link-target"><span>Taqbaylit</span></a></li><li class="interlanguage-link interwiki-kk mw-list-item"><a href="https://kk.wikipedia.org/wiki/C_(%D0%B1%D0%B0%D2%93%D0%B4%D0%B0%D1%80%D0%BB%D0%B0%D0%BC%D0%B0%D0%BB%D0%B0%D1%83_%D1%82%D1%96%D0%BB%D1%96)" title="C (бағдарламалау тілі) – kazaški" lang="kk" hreflang="kk" data-title="C (бағдарламалау тілі)" data-language-autonym="Қазақша" data-language-local-name="kazaški" class="interlanguage-link-target"><span>Қазақша</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/%E1%9E%97%E1%9E%B6%E1%9E%9F%E1%9E%B6%E1%9E%9F%E1%9F%8A%E1%9E%B8" title="ភាសាស៊ី – kmerski" lang="km" hreflang="km" data-title="ភាសាស៊ី" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="kmerski" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-kn mw-list-item"><a href="https://kn.wikipedia.org/wiki/%E0%B2%B8%E0%B2%BF_(%E0%B2%95%E0%B3%8D%E0%B2%B0%E0%B2%AE%E0%B2%B5%E0%B2%BF%E0%B2%A7%E0%B2%BF_%E0%B2%AD%E0%B2%BE%E0%B2%B7%E0%B3%86)" title="ಸಿ (ಕ್ರಮವಿಧಿ ಭಾಷೆ) – karnatački" lang="kn" hreflang="kn" data-title="ಸಿ (ಕ್ರಮವಿಧಿ ಭಾಷೆ)" data-language-autonym="ಕನ್ನಡ" data-language-local-name="karnatački" class="interlanguage-link-target"><span>ಕನ್ನಡ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/C_(%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D_%EC%96%B8%EC%96%B4)" title="C (프로그래밍 언어) – korejski" lang="ko" hreflang="ko" data-title="C (프로그래밍 언어)" data-language-autonym="한국어" data-language-local-name="korejski" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-ku mw-list-item"><a href="https://ku.wikipedia.org/wiki/C_(ziman%C3%AA_bernamesaziy%C3%AA)" title="C (zimanê bernamesaziyê) – kurdski" lang="ku" hreflang="ku" data-title="C (zimanê bernamesaziyê)" data-language-autonym="Kurdî" data-language-local-name="kurdski" class="interlanguage-link-target"><span>Kurdî</span></a></li><li class="interlanguage-link interwiki-ky mw-list-item"><a href="https://ky.wikipedia.org/wiki/%D0%A1%D0%B8_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0%D0%BB%D0%BE%D0%BE_%D1%82%D0%B8%D0%BB%D0%B8)" title="Си (программалоо тили) – kirgiski" lang="ky" hreflang="ky" data-title="Си (программалоо тили)" data-language-autonym="Кыргызча" data-language-local-name="kirgiski" class="interlanguage-link-target"><span>Кыргызча</span></a></li><li class="interlanguage-link interwiki-la badge-Q17437796 badge-featuredarticle mw-list-item" title="izabrani članak"><a href="https://la.wikipedia.org/wiki/C_(lingua_programmandi)" title="C (lingua programmandi) – latinski" lang="la" hreflang="la" data-title="C (lingua programmandi)" data-language-autonym="Latina" data-language-local-name="latinski" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lmo mw-list-item"><a href="https://lmo.wikipedia.org/wiki/C_(lenguagg)" title="C (lenguagg) – Lombard" lang="lmo" hreflang="lmo" data-title="C (lenguagg)" data-language-autonym="Lombard" data-language-local-name="Lombard" class="interlanguage-link-target"><span>Lombard</span></a></li><li class="interlanguage-link interwiki-lo mw-list-item"><a href="https://lo.wikipedia.org/wiki/%E0%BA%9E%E0%BA%B2%E0%BA%AA%E0%BA%B2%E0%BB%80%E0%BA%8A" title="ພາສາເຊ – laoski" lang="lo" hreflang="lo" data-title="ພາສາເຊ" data-language-autonym="ລາວ" data-language-local-name="laoski" class="interlanguage-link-target"><span>ລາວ</span></a></li><li class="interlanguage-link interwiki-lt mw-list-item"><a href="https://lt.wikipedia.org/wiki/C_(kalba)" title="C (kalba) – litavski" lang="lt" hreflang="lt" data-title="C (kalba)" data-language-autonym="Lietuvių" data-language-local-name="litavski" class="interlanguage-link-target"><span>Lietuvių</span></a></li><li class="interlanguage-link interwiki-lv mw-list-item"><a href="https://lv.wikipedia.org/wiki/C_(programm%C4%93%C5%A1anas_valoda)" title="C (programmēšanas valoda) – latvijski" lang="lv" hreflang="lv" data-title="C (programmēšanas valoda)" data-language-autonym="Latviešu" data-language-local-name="latvijski" class="interlanguage-link-target"><span>Latviešu</span></a></li><li class="interlanguage-link interwiki-mai mw-list-item"><a href="https://mai.wikipedia.org/wiki/%E0%A4%B8%E0%A5%80" title="सी – maithili" lang="mai" hreflang="mai" data-title="सी" data-language-autonym="मैथिली" data-language-local-name="maithili" class="interlanguage-link-target"><span>मैथिली</span></a></li><li class="interlanguage-link interwiki-mg mw-list-item"><a href="https://mg.wikipedia.org/wiki/Fiteny_C" title="Fiteny C – malgaški" lang="mg" hreflang="mg" data-title="Fiteny C" data-language-autonym="Malagasy" data-language-local-name="malgaški" class="interlanguage-link-target"><span>Malagasy</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/C_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D1%81%D0%BA%D0%B8_%D1%98%D0%B0%D0%B7%D0%B8%D0%BA)" title="C (програмски јазик) – makedonski" lang="mk" hreflang="mk" data-title="C (програмски јазик)" data-language-autonym="Македонски" data-language-local-name="makedonski" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%B8%E0%B4%BF_(%E0%B4%AA%E0%B5%8D%E0%B4%B0%E0%B5%8B%E0%B4%97%E0%B5%8D%E0%B4%B0%E0%B4%BE%E0%B4%AE%E0%B4%BF%E0%B4%99%E0%B5%8D_%E0%B4%AD%E0%B4%BE%E0%B4%B7)" title="സി (പ്രോഗ്രാമിങ് ഭാഷ) – malajalamski" lang="ml" hreflang="ml" data-title="സി (പ്രോഗ്രാമിങ് ഭാഷ)" data-language-autonym="മലയാളം" data-language-local-name="malajalamski" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-mn mw-list-item"><a href="https://mn.wikipedia.org/wiki/%D0%A1%D0%B8_%D1%85%D1%8D%D0%BB" title="Си хэл – mongolski" lang="mn" hreflang="mn" data-title="Си хэл" data-language-autonym="Монгол" data-language-local-name="mongolski" class="interlanguage-link-target"><span>Монгол</span></a></li><li class="interlanguage-link interwiki-mni mw-list-item"><a href="https://mni.wikipedia.org/wiki/%EA%AF%81%EA%AF%A4_%EA%AF%84%EA%AF%AD%EA%AF%94%EA%AF%A3%EA%AF%92%EA%AF%AD%EA%AF%94%EA%AF%A5%EA%AF%9D%EA%AF%83%EA%AF%A4%EA%AF%A1_%EA%AF%82%EA%AF%A3%EA%AF%9F" title="ꯁꯤ ꯄ꯭ꯔꯣꯒ꯭ꯔꯥꯝꯃꯤꯡ ꯂꯣꯟ – manipurski" lang="mni" hreflang="mni" data-title="ꯁꯤ ꯄ꯭ꯔꯣꯒ꯭ꯔꯥꯝꯃꯤꯡ ꯂꯣꯟ" data-language-autonym="ꯃꯤꯇꯩ ꯂꯣꯟ" data-language-local-name="manipurski" class="interlanguage-link-target"><span>ꯃꯤꯇꯩ ꯂꯣꯟ</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%B8%E0%A5%80_(%E0%A4%86%E0%A4%9C%E0%A5%8D%E0%A4%9E%E0%A4%BE%E0%A4%B5%E0%A4%B2%E0%A5%80_%E0%A4%AD%E0%A4%BE%E0%A4%B7%E0%A4%BE)" title="सी (आज्ञावली भाषा) – marathski" lang="mr" hreflang="mr" data-title="सी (आज्ञावली भाषा)" data-language-autonym="मराठी" data-language-local-name="marathski" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/C_(bahasa_pengaturcaraan)" title="C (bahasa pengaturcaraan) – malajski" lang="ms" hreflang="ms" data-title="C (bahasa pengaturcaraan)" data-language-autonym="Bahasa Melayu" data-language-local-name="malajski" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-my mw-list-item"><a href="https://my.wikipedia.org/wiki/C_(%E1%80%95%E1%80%9B%E1%80%AD%E1%80%AF%E1%80%82%E1%80%9B%E1%80%99%E1%80%BA%E1%80%B8%E1%80%99%E1%80%84%E1%80%BA%E1%80%B8_%E1%80%98%E1%80%AC%E1%80%9E%E1%80%AC%E1%80%85%E1%80%80%E1%80%AC%E1%80%B8)" title="C (ပရိုဂရမ်းမင်း ဘာသာစကား) – burmanski" lang="my" hreflang="my" data-title="C (ပရိုဂရမ်းမင်း ဘာသာစကား)" data-language-autonym="မြန်မာဘာသာ" data-language-local-name="burmanski" class="interlanguage-link-target"><span>မြန်မာဘာသာ</span></a></li><li class="interlanguage-link interwiki-ne mw-list-item"><a href="https://ne.wikipedia.org/wiki/%E0%A4%B8%E0%A4%BF" title="सि – nepalski" lang="ne" hreflang="ne" data-title="सि" data-language-autonym="नेपाली" data-language-local-name="nepalski" class="interlanguage-link-target"><span>नेपाली</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/C_(programmeertaal)" title="C (programmeertaal) – nizozemski" lang="nl" hreflang="nl" data-title="C (programmeertaal)" data-language-autonym="Nederlands" data-language-local-name="nizozemski" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/Programmeringsspr%C3%A5ket_C" title="Programmeringsspråket C – norveški nynorsk" lang="nn" hreflang="nn" data-title="Programmeringsspråket C" data-language-autonym="Norsk nynorsk" data-language-local-name="norveški nynorsk" class="interlanguage-link-target"><span>Norsk nynorsk</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/C_(programmeringsspr%C3%A5k)" title="C (programmeringsspråk) – norveški bokmål" lang="nb" hreflang="nb" data-title="C (programmeringsspråk)" data-language-autonym="Norsk bokmål" data-language-local-name="norveški bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-oc mw-list-item"><a href="https://oc.wikipedia.org/wiki/C_(lengatge)" title="C (lengatge) – okcitanski" lang="oc" hreflang="oc" data-title="C (lengatge)" data-language-autonym="Occitan" data-language-local-name="okcitanski" class="interlanguage-link-target"><span>Occitan</span></a></li><li class="interlanguage-link interwiki-or mw-list-item"><a href="https://or.wikipedia.org/wiki/%E0%AC%B8%E0%AC%BF_(%E0%AC%AA%E0%AD%8D%E0%AC%B0%E0%AD%8B%E0%AC%97%E0%AD%8D%E0%AC%B0%E0%AC%BE%E0%AC%AE%E0%AC%BF%E0%AC%82_%E0%AC%AD%E0%AC%BE%E0%AC%B7%E0%AC%BE)" title="ସି (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା) – orijski" lang="or" hreflang="or" data-title="ସି (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା)" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="orijski" class="interlanguage-link-target"><span>ଓଡ଼ିଆ</span></a></li><li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://pa.wikipedia.org/wiki/%E0%A8%B8%E0%A9%80_(%E0%A8%AA%E0%A9%8D%E0%A8%B0%E0%A9%8B%E0%A8%97%E0%A8%B0%E0%A8%BE%E0%A8%AE%E0%A8%BF%E0%A9%B0%E0%A8%97_%E0%A8%AD%E0%A8%BE%E0%A8%B8%E0%A8%BC%E0%A8%BE)" title="ਸੀ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ) – pandžapski" lang="pa" hreflang="pa" data-title="ਸੀ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="pandžapski" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li><li class="interlanguage-link interwiki-pl badge-Q17437796 badge-featuredarticle mw-list-item" title="izabrani članak"><a href="https://pl.wikipedia.org/wiki/C_(j%C4%99zyk_programowania)" title="C (język programowania) – poljski" lang="pl" hreflang="pl" data-title="C (język programowania)" data-language-autonym="Polski" data-language-local-name="poljski" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pms mw-list-item"><a href="https://pms.wikipedia.org/wiki/C_(lengage_%C3%ABd_programassion)" title="C (lengage ëd programassion) – Piedmontese" lang="pms" hreflang="pms" data-title="C (lengage ëd programassion)" data-language-autonym="Piemontèis" data-language-local-name="Piedmontese" class="interlanguage-link-target"><span>Piemontèis</span></a></li><li class="interlanguage-link interwiki-pnb mw-list-item"><a href="https://pnb.wikipedia.org/wiki/%D8%B3%DB%8C_(%D9%BE%D8%B1%D9%88%DA%AF%D8%B1%D8%A7%D9%85%D9%86%DA%AF_%D8%B2%D8%A8%D8%A7%D9%86)" title="سی (پروگرامنگ زبان) – Western Punjabi" lang="pnb" hreflang="pnb" data-title="سی (پروگرامنگ زبان)" data-language-autonym="پنجابی" data-language-local-name="Western Punjabi" class="interlanguage-link-target"><span>پنجابی</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/C_(linguagem_de_programa%C3%A7%C3%A3o)" title="C (linguagem de programação) – portugalski" lang="pt" hreflang="pt" data-title="C (linguagem de programação)" data-language-autonym="Português" data-language-local-name="portugalski" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-qu mw-list-item"><a href="https://qu.wikipedia.org/wiki/C_(wakichiy_simi)" title="C (wakichiy simi) – kečuanski" lang="qu" hreflang="qu" data-title="C (wakichiy simi)" data-language-autonym="Runa Simi" data-language-local-name="kečuanski" class="interlanguage-link-target"><span>Runa Simi</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/C_(limbaj_de_programare)" title="C (limbaj de programare) – rumunjski" lang="ro" hreflang="ro" data-title="C (limbaj de programare)" data-language-autonym="Română" data-language-local-name="rumunjski" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%A1%D0%B8_(%D1%8F%D0%B7%D1%8B%D0%BA_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F)" title="Си (язык программирования) – ruski" lang="ru" hreflang="ru" data-title="Си (язык программирования)" data-language-autonym="Русский" data-language-local-name="ruski" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sah mw-list-item"><a href="https://sah.wikipedia.org/wiki/C_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0%D0%BB%D0%B0%D0%B0h%D1%8B%D0%BD_%D1%82%D1%8B%D0%BB%D0%B0)" title="C (программалааhын тыла) – jakutski" lang="sah" hreflang="sah" data-title="C (программалааhын тыла)" data-language-autonym="Саха тыла" data-language-local-name="jakutski" class="interlanguage-link-target"><span>Саха тыла</span></a></li><li class="interlanguage-link interwiki-sat mw-list-item"><a href="https://sat.wikipedia.org/wiki/%E1%B1%A5%E1%B1%A4_(%E1%B1%AF%E1%B1%A8%E1%B1%9A%E1%B1%9C%E1%B1%BD%E1%B1%A8%E1%B1%9F%E1%B1%A2%E1%B1%A4%E1%B1%9D_%E1%B1%AF%E1%B1%9F%E1%B1%B9%E1%B1%A8%E1%B1%A5%E1%B1%A4)" title="ᱥᱤ (ᱯᱨᱚᱜᱽᱨᱟᱢᱤᱝ ᱯᱟᱹᱨᱥᱤ) – santalski" lang="sat" hreflang="sat" data-title="ᱥᱤ (ᱯᱨᱚᱜᱽᱨᱟᱢᱤᱝ ᱯᱟᱹᱨᱥᱤ)" data-language-autonym="ᱥᱟᱱᱛᱟᱲᱤ" data-language-local-name="santalski" class="interlanguage-link-target"><span>ᱥᱟᱱᱛᱟᱲᱤ</span></a></li><li class="interlanguage-link interwiki-sco mw-list-item"><a href="https://sco.wikipedia.org/wiki/C_(programmin_leid)" title="C (programmin leid) – škotski" lang="sco" hreflang="sco" data-title="C (programmin leid)" data-language-autonym="Scots" data-language-local-name="škotski" class="interlanguage-link-target"><span>Scots</span></a></li><li class="interlanguage-link interwiki-sh mw-list-item"><a href="https://sh.wikipedia.org/wiki/C_(programski_jezik)" title="C (programski jezik) – srpsko-hrvatski" lang="sh" hreflang="sh" data-title="C (programski jezik)" data-language-autonym="Srpskohrvatski / српскохрватски" data-language-local-name="srpsko-hrvatski" class="interlanguage-link-target"><span>Srpskohrvatski / српскохрватски</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/C_(%E0%B6%9A%E0%B7%8A%E2%80%8D%E0%B6%BB%E0%B6%B8%E0%B6%BD%E0%B7%9A%E0%B6%9B%E0%B6%B1_%E0%B6%B7%E0%B7%8F%E0%B7%82%E0%B7%8F%E0%B7%80)" title="C (ක්‍රමලේඛන භාෂාව) – sinhaleški" lang="si" hreflang="si" data-title="C (ක්‍රමලේඛන භාෂාව)" data-language-autonym="සිංහල" data-language-local-name="sinhaleški" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/C_(programming_language)" title="C (programming language) – Simple English" lang="en-simple" hreflang="en-simple" data-title="C (programming language)" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/C_(programovac%C3%AD_jazyk)" title="C (programovací jazyk) – slovački" lang="sk" hreflang="sk" data-title="C (programovací jazyk)" data-language-autonym="Slovenčina" data-language-local-name="slovački" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Programski_jezik_C" title="Programski jezik C – slovenski" lang="sl" hreflang="sl" data-title="Programski jezik C" data-language-autonym="Slovenščina" data-language-local-name="slovenski" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/C_(gjuh%C3%AB_programimi)" title="C (gjuhë programimi) – albanski" lang="sq" hreflang="sq" data-title="C (gjuhë programimi)" data-language-autonym="Shqip" data-language-local-name="albanski" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/C_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D1%81%D0%BA%D0%B8_%D1%98%D0%B5%D0%B7%D0%B8%D0%BA)" title="C (програмски језик) – srpski" lang="sr" hreflang="sr" data-title="C (програмски језик)" data-language-autonym="Српски / srpski" data-language-local-name="srpski" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/C_(programspr%C3%A5k)" title="C (programspråk) – švedski" lang="sv" hreflang="sv" data-title="C (programspråk)" data-language-autonym="Svenska" data-language-local-name="švedski" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-sw mw-list-item"><a href="https://sw.wikipedia.org/wiki/C_(lugha_ya_programu)" title="C (lugha ya programu) – svahili" lang="sw" hreflang="sw" data-title="C (lugha ya programu)" data-language-autonym="Kiswahili" data-language-local-name="svahili" class="interlanguage-link-target"><span>Kiswahili</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%9A%E0%AE%BF_(%E0%AE%A8%E0%AE%BF%E0%AE%B0%E0%AE%B2%E0%AE%BE%E0%AE%95%E0%AF%8D%E0%AE%95_%E0%AE%AE%E0%AF%8A%E0%AE%B4%E0%AE%BF)" title="சி (நிரலாக்க மொழி) – tamilski" lang="ta" hreflang="ta" data-title="சி (நிரலாக்க மொழி)" data-language-autonym="தமிழ்" data-language-local-name="tamilski" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%B8%E0%B0%BF" title="సి – teluški" lang="te" hreflang="te" data-title="సి" data-language-autonym="తెలుగు" data-language-local-name="teluški" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/C_(%D0%B7%D0%B0%D0%B1%D0%BE%D0%BD%D0%B8_%D0%B1%D0%B0%D1%80%D0%BD%D0%BE%D0%BC%D0%B0%D1%81%D0%BE%D0%B7%D3%A3)" title="C (забони барномасозӣ) – tadžički" lang="tg" hreflang="tg" data-title="C (забони барномасозӣ)" data-language-autonym="Тоҷикӣ" data-language-local-name="tadžički" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B8%8B%E0%B8%B5" title="ภาษาซี – tajlandski" lang="th" hreflang="th" data-title="ภาษาซี" data-language-autonym="ไทย" data-language-local-name="tajlandski" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tl mw-list-item"><a href="https://tl.wikipedia.org/wiki/C_(wikang_pamprograma)" title="C (wikang pamprograma) – tagalog" lang="tl" hreflang="tl" data-title="C (wikang pamprograma)" data-language-autonym="Tagalog" data-language-local-name="tagalog" class="interlanguage-link-target"><span>Tagalog</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/C_(programlama_dili)" title="C (programlama dili) – turski" lang="tr" hreflang="tr" data-title="C (programlama dili)" data-language-autonym="Türkçe" data-language-local-name="turski" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-tt mw-list-item"><a href="https://tt.wikipedia.org/wiki/%D0%A1%D0%B8_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0%D0%BB%D0%B0%D1%83_%D1%82%D0%B5%D0%BB%D0%B5)" title="Си (программалау теле) – tatarski" lang="tt" hreflang="tt" data-title="Си (программалау теле)" data-language-autonym="Татарча / tatarça" data-language-local-name="tatarski" class="interlanguage-link-target"><span>Татарча / tatarça</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/C_(%D0%BC%D0%BE%D0%B2%D0%B0_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F)" title="C (мова програмування) – ukrajinski" lang="uk" hreflang="uk" data-title="C (мова програмування)" data-language-autonym="Українська" data-language-local-name="ukrajinski" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D8%B3%DB%8C_(%D9%BE%D8%B1%D9%88%DA%AF%D8%B1%D8%A7%D9%85%D9%86%DA%AF_%D8%B2%D8%A8%D8%A7%D9%86)" title="سی (پروگرامنگ زبان) – urdski" lang="ur" hreflang="ur" data-title="سی (پروگرامنگ زبان)" data-language-autonym="اردو" data-language-local-name="urdski" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/C_(dasturlash_tili)" title="C (dasturlash tili) – uzbečki" lang="uz" hreflang="uz" data-title="C (dasturlash tili)" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="uzbečki" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-vec mw-list-item"><a href="https://vec.wikipedia.org/wiki/Lenguajo_C" title="Lenguajo C – Venetian" lang="vec" hreflang="vec" data-title="Lenguajo C" data-language-autonym="Vèneto" data-language-local-name="Venetian" class="interlanguage-link-target"><span>Vèneto</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/C_(ng%C3%B4n_ng%E1%BB%AF_l%E1%BA%ADp_tr%C3%ACnh)" title="C (ngôn ngữ lập trình) – vijetnamski" lang="vi" hreflang="vi" data-title="C (ngôn ngữ lập trình)" data-language-autonym="Tiếng Việt" data-language-local-name="vijetnamski" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-war mw-list-item"><a href="https://war.wikipedia.org/wiki/C_(linggwahe_hin_pagprograma)" title="C (linggwahe hin pagprograma) – waray" lang="war" hreflang="war" data-title="C (linggwahe hin pagprograma)" data-language-autonym="Winaray" data-language-local-name="waray" class="interlanguage-link-target"><span>Winaray</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/C%E8%AF%AD%E8%A8%80" title="C语言 – wu kineski" lang="wuu" hreflang="wuu" data-title="C语言" data-language-autonym="吴语" data-language-local-name="wu kineski" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-xh mw-list-item"><a href="https://xh.wikipedia.org/wiki/U-C_(woku-programa_ulwimi)" title="U-C (woku-programa ulwimi) – xhosa" lang="xh" hreflang="xh" data-title="U-C (woku-programa ulwimi)" data-language-autonym="IsiXhosa" data-language-local-name="xhosa" class="interlanguage-link-target"><span>IsiXhosa</span></a></li><li class="interlanguage-link interwiki-yi mw-list-item"><a href="https://yi.wikipedia.org/wiki/C_(%D7%A4%D7%A8%D7%90%D7%92%D7%A8%D7%90%D7%9D_%D7%A9%D7%A4%D7%A8%D7%90%D7%9A)" title="C (פראגראם שפראך) – jidiš" lang="yi" hreflang="yi" data-title="C (פראגראם שפראך)" data-language-autonym="ייִדיש" data-language-local-name="jidiš" class="interlanguage-link-target"><span>ייִדיש</span></a></li><li class="interlanguage-link interwiki-zgh mw-list-item"><a href="https://zgh.wikipedia.org/wiki/%E2%B5%99%E2%B5%89_(%E2%B5%9C%E2%B5%93%E2%B5%9C%E2%B5%8D%E2%B4%B0%E2%B5%A2%E2%B5%9C_%E2%B5%8F_%E2%B5%93%E2%B5%99%E2%B5%96%E2%B5%89%E2%B5%A1%E2%B5%99)" title="ⵙⵉ (ⵜⵓⵜⵍⴰⵢⵜ ⵏ ⵓⵙⵖⵉⵡⵙ) – standardni marokanski tamašek" lang="zgh" hreflang="zgh" data-title="ⵙⵉ (ⵜⵓⵜⵍⴰⵢⵜ ⵏ ⵓⵙⵖⵉⵡⵙ)" data-language-autonym="ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ" data-language-local-name="standardni marokanski tamašek" class="interlanguage-link-target"><span>ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/C%E8%AF%AD%E8%A8%80" title="C语言 – kineski" lang="zh" hreflang="zh" data-title="C语言" data-language-autonym="中文" data-language-local-name="kineski" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-classical mw-list-item"><a href="https://zh-classical.wikipedia.org/wiki/%E4%B8%99%E8%AA%9E" title="丙語 – Literary Chinese" lang="lzh" hreflang="lzh" data-title="丙語" data-language-autonym="文言" data-language-local-name="Literary Chinese" class="interlanguage-link-target"><span>文言</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/C_(th%C3%AAng-sek_g%C3%AD-gi%C3%A2n)" title="C (thêng-sek gí-giân) – min nan kineski" lang="nan" hreflang="nan" data-title="C (thêng-sek gí-giân)" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="min nan kineski" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/C_(%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80)" title="C (程式語言) – kantonski" lang="yue" hreflang="yue" data-title="C (程式語言)" data-language-autonym="粵語" data-language-local-name="kantonski" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15777#sitelinks-wikipedia" title="Poveznice na druge jezike" class="wbc-editpage">Uredi poveznice</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Imenski prostori"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/C_(programski_jezik)" title="Pogledaj sadržaj [c]" accesskey="c"><span>Stranica</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Razgovor:C_(programski_jezik)&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="Razgovorna stranica (stranica ne postoji) [t]" accesskey="t"><span>Razgovor</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Promijeni jezičnu varijantu" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">hrvatski</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Pogledi"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/C_(programski_jezik)"><span>Čitaj</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit" title="Uredite ovu stranicu [v]" accesskey="v"><span>Uredi</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit" title="Uredite izvorni kôd ove stranice [e]" accesskey="e"><span>Uredi kôd</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;action=history" title="Ranije izmjene na ovoj stranici [h]" accesskey="h"><span>Vidi povijest</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Pomagala"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Pomagala" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Pomagala</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Pomagala</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">sakrij</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Više mogućnosti" > <div class="vector-menu-heading"> Radnje </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/C_(programski_jezik)"><span>Čitaj</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit" title="Uredite ovu stranicu [v]" accesskey="v"><span>Uredi</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit" title="Uredite izvorni kôd ove stranice [e]" accesskey="e"><span>Uredi kôd</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;action=history"><span>Vidi povijest</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Razno </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Posebno:%C5%A0to_vodi_ovamo/C_(programski_jezik)" title="Popis svih stranica koje sadrže poveznice na ovu stranicu [j]" accesskey="j"><span>Što vodi ovamo</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Posebno:Povezane_promjene/C_(programski_jezik)" rel="nofollow" title="Nedavne promjene na stranicama koje su povezane s navedenom stranicom [k]" accesskey="k"><span>Povezane promjene</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedija:Upload" title="Postavi datoteke [u]" accesskey="u"><span>Postavi datoteku</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Posebno:Posebne_stranice" title="Popis svih posebnih stranica [q]" accesskey="q"><span>Posebne stranice</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;oldid=6762871" title="Trajna poveznica na ovu verziju stranice"><span>Trajna poveznica</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;action=info" title="Više informacija o ovoj stranici"><span>Podatci o stranici</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Posebno:Citiraj&amp;page=C_%28programski_jezik%29&amp;id=6762871&amp;wpFormIdentifier=titleform" title="Informacije o tome kako citirati ovu stranicu"><span>Citiraj ovu stranicu</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Posebno:Skra%C4%87iva%C4%8D_adresa&amp;url=https%3A%2F%2Fhr.wikipedia.org%2Fwiki%2FC_%28programski_jezik%29"><span>Skraćeni URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Posebno:QrCode&amp;url=https%3A%2F%2Fhr.wikipedia.org%2Fwiki%2FC_%28programski_jezik%29"><span>Preuzmi QR kôd</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Ispis/izvoz </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Posebno:Zbirka&amp;bookcmd=book_creator&amp;referer=C+%28programski+jezik%29"><span>Stvori knjigu</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Posebno:DownloadAsPdf&amp;page=C_%28programski_jezik%29&amp;action=show-download-screen"><span>Preuzmi kao PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=C_(programski_jezik)&amp;printable=yes" title="Inačica za ispis ove stranice [p]" accesskey="p"><span>Inačica za ispis</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> Wikimedijini projekti </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:C_(programming_language)" hreflang="en"><span>Zajednički poslužitelj</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15777" title="Poveznica na stavku na projektu Wikipodatci [g]" accesskey="g"><span>Stavka na Wikipodatcima</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Pomagala"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Izgled"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Izgled</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">premjesti</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">sakrij</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">Izvor: Wikipedija</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="hr" dir="ltr"><p>Programski jezik <b>C</b> spada u proceduralne programske jezike koji je razvijen u ranim <a href="/wiki/1970-ih" title="1970-ih">70-im</a> godinama <a href="/wiki/20._stolje%C4%87e" title="20. stoljeće">20. stoljeća</a>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Povijest_razvoja">Povijest razvoja</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=1" title="Uredi odlomak: Povijest razvoja" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=1" title="Uredi kôd odjeljka Povijest razvoja"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Autor ovog programskog jezika je <a href="/wiki/Dennis_Ritchie" title="Dennis Ritchie">Dennis Ritchie</a>, no značajan doprinos nastanku C-a dali su i <a href="/wiki/Ken_Thompson" title="Ken Thompson">Ken Thompson</a> kao autor programskog jezika B i <a href="/w/index.php?title=Martin_Richards&amp;action=edit&amp;redlink=1" class="new" title="Martin Richards (stranica ne postoji)">Martin Richards</a>, autor programskog jezika <a href="/w/index.php?title=BCPL&amp;action=edit&amp;redlink=1" class="new" title="BCPL (stranica ne postoji)">BCPL</a>. Dennis Ritchie je stvorio ovaj programski jezik za rješavanje praktičnih problema kodiranja <a href="/w/index.php?title=Sistemski_program&amp;action=edit&amp;redlink=1" class="new" title="Sistemski program (stranica ne postoji)">sistemskih programa</a> i jezgre <a href="/wiki/Operacijski_sustav" title="Operacijski sustav">operacijskog sustava</a> <a href="/wiki/UNIX" title="UNIX">UNIX</a>, koji je praktički u cijelosti napisan u <b>C</b>-u. </p> <figure class="mw-default-size mw-halign-right" typeof="mw:File/Thumb"><a href="/wiki/Datoteka:Ken_Thompson_and_Dennis_Ritchie--1973.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Ken_Thompson_and_Dennis_Ritchie--1973.jpg/220px-Ken_Thompson_and_Dennis_Ritchie--1973.jpg" decoding="async" width="220" height="143" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/1/1b/Ken_Thompson_and_Dennis_Ritchie--1973.jpg 1.5x" data-file-width="310" data-file-height="201" /></a><figcaption>Dennis Ritchie i Ken Thompson</figcaption></figure> <p>Programski jezik <b>C</b> dosta se mijenjao tijekom <a href="/wiki/Godina" title="Godina">godina</a> te je u više navrata neformalno i formalno standardiziran. Prva važnija inačica poznata je pod nazivom "K&amp;R C", što je <a href="/wiki/Engleski_jezik" title="Engleski jezik">engl</a>. kratica <a href="/wiki/Prezime" title="Prezime">prezimena</a> dvaju autora najpoznatijeg C priručnika "The C Programming Language", a to su <a href="/w/index.php?title=Brian_Kernighan&amp;action=edit&amp;redlink=1" class="new" title="Brian Kernighan (stranica ne postoji)">Brian Kernighan</a> i Dennis Ritchie. Prvo izdanje te vrlo sažeto i precizno pisane <a href="/wiki/Knjiga" title="Knjiga">knjige</a> koje datira iz <a href="/wiki/1978." title="1978.">1978.</a> godine ujedno je <a href="/wiki/De_facto" title="De facto">de facto</a> standardiziralo jezik u 70-ima. Drugo izdanje iz <a href="/wiki/1988." title="1988.">1988.</a> godine opisuje "ANSI C", standard kojeg je <a href="/wiki/1983." title="1983.">1983.</a> godine definirao <a href="/wiki/SAD" class="mw-redirect" title="SAD">američki</a> nacionalni institut za standardizaciju, a koji je i danas podržan. Godine 1999. je donesen <i>ISO/IEC 9899:1999</i> ili ga "C99". Krajem 2011. usvojen je <i>ISO/IEC 9899:2011</i>, poznat kao "C11", 2018. je donesen (2017. je počeo razvoj) <i>ISO/IEC 9899:2018</i> ili ga "C17". </p><p>Kao jedan od najvažnijih jezika u povijesti komercijalne <a href="/wiki/Ra%C4%8Dunalo" title="Računalo">računalne</a> industrije, <b>C</b> je do danas ostao jedini programski jezik prilagođen za sve računalne platforme, od malih sustava pa do mrežnih superračunala. Programi napisani u njemu vrlo su bliski načinu rada <a href="/wiki/Hardver" class="mw-redirect" title="Hardver">hardvera</a> te u načelu zahtijevaju od programera dobro razumijevanje rada <a href="/wiki/Procesor_(ra%C4%8Dunarstvo)" title="Procesor (računarstvo)">procesora</a>, <a href="/wiki/Memorija_(ra%C4%8Dunala)" class="mw-redirect" title="Memorija (računala)">memorije</a>, <a href="/w/index.php?title=Ulazno-izlazni_skolpovi&amp;action=edit&amp;redlink=1" class="new" title="Ulazno-izlazni skolpovi (stranica ne postoji)">ulazno-izlaznih sklopova</a> itd. No, rad s registrima procesora i adresiranje memorije apstrahirani su pomoću koncepta varijabli i pokazivača što uz eksplicitne kontrolne strukture i funkcije znatno olakšava programiranje u odnosu na izravno programiranje u strojnim jezicima. </p> <figure class="mw-halign-right" typeof="mw:File/Thumb"><a href="/wiki/Datoteka:The_C_Programming_Language,_First_Edition_Cover.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/0e/The_C_Programming_Language%2C_First_Edition_Cover.svg/250px-The_C_Programming_Language%2C_First_Edition_Cover.svg.png" decoding="async" width="250" height="351" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/0e/The_C_Programming_Language%2C_First_Edition_Cover.svg/375px-The_C_Programming_Language%2C_First_Edition_Cover.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/0e/The_C_Programming_Language%2C_First_Edition_Cover.svg/500px-The_C_Programming_Language%2C_First_Edition_Cover.svg.png 2x" data-file-width="1000" data-file-height="1405" /></a><figcaption>Prvo izdanje knjige <b>Programski jezik C</b>, autora Kernigan, Ritchie</figcaption></figure> <div class="mw-heading mw-heading2"><h2 id="Proširivanje_na_objektno_orijentirano_programiranje"><span id="Pro.C5.A1irivanje_na_objektno_orijentirano_programiranje"></span>Proširivanje na objektno orijentirano programiranje</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=2" title="Uredi odlomak: Proširivanje na objektno orijentirano programiranje" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=2" title="Uredi kôd odjeljka Proširivanje na objektno orijentirano programiranje"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Tijekom <a href="/wiki/1980-ih" title="1980-ih">1980-ih</a>, <a href="/wiki/Bjarne_Stroustrup" title="Bjarne Stroustrup">Bjarne Stroustrup</a> zajedno s drugim istraživačima u Bell Labs proširuje <b>C</b> dodavajući sposobnosti <a href="/wiki/Objektno_orijentirano_programiranje" title="Objektno orijentirano programiranje">objektno orijentiranog programiranja</a>, a naziv ovog novog programskog jezika je <a href="/wiki/C_Plus_Plus" class="mw-redirect" title="C Plus Plus">C++</a>. Nažalost, takva kompatibilnost također podrazumijeva da su problemi koje programiranje u <b>C</b>-u nosi sa sobom naslijeđeni u C++-u. Efikasno i sigurno programiranje u <b>C</b>-u vrlo je zahtjevna vještina koja traži višegodišnje iskustvo pa je stoga <b>C</b> jezik koji se ne preporučuje početnicima, posebice ako im programiranje nije primarni posao. </p> <div class="mw-heading mw-heading2"><h2 id="Uporaba">Uporaba</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=3" title="Uredi odlomak: Uporaba" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=3" title="Uredi kôd odjeljka Uporaba"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>C je jezik opće namjene, što znači da se u njemu može napraviti apsolutno sve: od rješavanja <a href="/w/index.php?title=Zadatak&amp;action=edit&amp;redlink=1" class="new" title="Zadatak (stranica ne postoji)">zadataka</a>, do pisanja <i>drivera</i>, <a href="/wiki/Operacijski_sustav" title="Operacijski sustav">operacijskih susatava</a>, <a href="/wiki/Tekst_procesor" class="mw-redirect" title="Tekst procesor">tekst procesora</a> ili <a href="/wiki/Ra%C4%8Dunalna_igra" class="mw-redirect" title="Računalna igra">igara</a>. C, kao jezik, ni u čemu ne ograničava. Omogućuje i uključivanje naredbi pisanih asemblerski, zbog čega je zajedno s mogućnošću direktnog pristupa pojedinim <a href="/wiki/Bit" title="Bit">bitovima</a>, <a href="/wiki/Bajt" title="Bajt">bajtovima</a> ili cijelim blokovima memorije, pogodan za pisanje sistemskog <a href="/wiki/Softver" class="mw-redirect" title="Softver">softvera</a>. Zbog tih karakteristika C je među popularnijim <a href="/wiki/Programski_jezik" title="Programski jezik">programskim jezicima</a> i rabe ga mnogi <a href="/wiki/Programer" title="Programer">programeri</a>. Rezultat toga je postojanje velikog broja prevoditelja za C i alata te stalno dostupne pomoći na <a href="/wiki/Internet" title="Internet">internetu</a>. Programi pisani u C-u su prenosivi (mogu se prevoditi i izvršavati na različitim porodicama računala uz minimalne ili nikakve ispravke) i obično su vrlo brzi. Postoje mnogi <a href="/wiki/Jezi%C4%8Dni_prevoditelj" title="Jezični prevoditelj">prevoditelji</a> za jezik C, a jedan od najkorištenijih je <a href="/wiki/GNU_C_Compiler" class="mw-redirect" title="GNU C Compiler">GNU C Compiler</a> i Clang. </p> <div class="mw-heading mw-heading2"><h2 id="Problemi">Problemi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=4" title="Uredi odlomak: Problemi" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=4" title="Uredi kôd odjeljka Problemi"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Mnogobrojni problemi vezani prije svega za upravljanje memorijom koje programer mora sam eksplicitno kodirati razlog su da je danas većina novih korisničkih aplikacija napisana u nekom modernijem jeziku koji ima ugrađeno automatsko upravljanje memorijom (engl. garbage collection), ne dopušta izravan rad s memorijom pomoću pokazivača te ima podršku za upravljanje kodom odnosno njegovom okolinom za vrijeme njegova izvođenja. Danas se relativno rijetko ukazuje potreba za pisanjem novih korisničkih aplikacija izravno u <b>C</b>-u, pa čak i u vrlo malim sustavima kao što su primjerice <a href="/wiki/Mobilni_telefon" title="Mobilni telefon">mobilni telefoni</a>. Glavno područje njegove uporabe su sistemski programi na strani poslužitelja (engl. servers), programi prevoditelji (engl. compilers) i jezgre operativnih sustava (engl. operating system kernels), gdje je potreba za najvećom mogućom brzinom izvođenja, efikasnom kontrolom resursa i izravnom kontrolom hardvera od primarne važnosti. </p> <div class="mw-heading mw-heading2"><h2 id="Standardi">Standardi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=5" title="Uredi odlomak: Standardi" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=5" title="Uredi kôd odjeljka Standardi"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="K&amp;R_C"><span id="K.26R_C"></span>K&amp;R C</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=6" title="Uredi odlomak: K&amp;R C" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=6" title="Uredi kôd odjeljka K&amp;R C"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="ISO_C_/_ANSI_C"><span id="ISO_C_.2F_ANSI_C"></span>ISO C / ANSI C</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=7" title="Uredi odlomak: ISO C / ANSI C" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=7" title="Uredi kôd odjeljka ISO C / ANSI C"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="C99[1]"><span id="C99.5B1.5D"></span>C99<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=8" title="Uredi odlomak: C99[1]" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=8" title="Uredi kôd odjeljka C99[1]"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="C11">C11</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=9" title="Uredi odlomak: C11" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=9" title="Uredi kôd odjeljka C11"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="C17">C17</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=10" title="Uredi odlomak: C17" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=10" title="Uredi kôd odjeljka C17"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading2"><h2 id="Skup_znakova">Skup znakova</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=11" title="Uredi odlomak: Skup znakova" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=11" title="Uredi kôd odjeljka Skup znakova"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Osnovni skup znakova u programskom jeziku C su: </p> <ul><li>Malo i veliko slova abecede: <code>a</code>–<code>z</code> <code>A</code>–<code>Z</code></li> <li>Brojevi&#160;: <code>0</code>–<code>9</code></li> <li>Posebni znakovi <code>! " #&#160;% &amp; ' ( ) * + , - . /&#160;:&#160;; &lt; = &gt;&#160;? [ \ ] ^ _ { | } ~</code></li> <li><a href="/w/index.php?title=Bijeli_razmak&amp;action=edit&amp;redlink=1" class="new" title="Bijeli razmak (stranica ne postoji)">bijeli razmaci</a>: <i><a href="/w/index.php?title=Razmak&amp;action=edit&amp;redlink=1" class="new" title="Razmak (stranica ne postoji)">razmak</a></i>, <i><a href="/w/index.php?title=Vodoravni_razmak&amp;action=edit&amp;redlink=1" class="new" title="Vodoravni razmak (stranica ne postoji)">vodoravni razmak</a></i>, <i><a href="/w/index.php?title=Okomiti_razmak&amp;action=edit&amp;redlink=1" class="new" title="Okomiti razmak (stranica ne postoji)">Okomiti razmak</a></i>, <i><a href="/w/index.php?title=Prekid_stranice&amp;action=edit&amp;redlink=1" class="new" title="Prekid stranice (stranica ne postoji)">prekid stranice</a></i>, <i><a href="/w/index.php?title=Nova_linija&amp;action=edit&amp;redlink=1" class="new" title="Nova linija (stranica ne postoji)">nova linija</a></i></li></ul> <p>Prije pojave standarda C11 u programskom jeziku C u standardu nije bilo moguće umetnuti posebne znakove (UTF8), ratifikacijom standard C11 sada je moguće umetnuti posbene znakove u heksadecimalnom obliku <code>\uXXXX</code> ili <code>\UXXXXXXXX</code>. </p> <div class="mw-heading mw-heading2"><h2 id="Ključne_riječi"><span id="Klju.C4.8Dne_rije.C4.8Di"></span>Ključne riječi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=12" title="Uredi odlomak: Ključne riječi" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=12" title="Uredi kôd odjeljka Ključne riječi"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Programski jezik C u standardu C89 ima samo 32 ključne riječi, ove riječi nije moguće primijeniti za variable ili za neke druge svrhe kao recimo imena funkcija, konstanti ili slično: </p> <table cellspacing="0" cellpadding="0" class="" style="background-color: transparent; color:inherit; width: 100%;"> <tbody><tr> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code>auto</code></dd> <dd><code>break</code></dd> <dd><code>case</code></dd> <dd><code>char</code></dd> <dd><code>const</code></dd> <dd><code>continue</code></dd> <dd><code>default</code></dd> <dd><code>do</code></dd></dl> </td> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code><a href="/w/index.php?title=Double_precision&amp;action=edit&amp;redlink=1" class="new" title="Double precision (stranica ne postoji)">double</a></code></dd> <dd><code>else</code></dd> <dd><code><a href="/w/index.php?title=Enumerated_type&amp;action=edit&amp;redlink=1" class="new" title="Enumerated type (stranica ne postoji)">enum</a></code></dd> <dd><a href="/w/index.php?title=External_variable&amp;action=edit&amp;redlink=1" class="new" title="External variable (stranica ne postoji)"><code>extern</code></a></dd> <dd><code><a href="/w/index.php?title=Floating_point&amp;action=edit&amp;redlink=1" class="new" title="Floating point (stranica ne postoji)">float</a></code></dd> <dd><code><a href="/w/index.php?title=For_loop&amp;action=edit&amp;redlink=1" class="new" title="For loop (stranica ne postoji)">for</a></code></dd> <dd><code><a href="/wiki/Goto" title="Goto">goto</a></code></dd> <dd><code>if</code></dd></dl> </td> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code>int</code></dd> <dd><code><a href="/w/index.php?title=Long_integer&amp;action=edit&amp;redlink=1" class="new" title="Long integer (stranica ne postoji)">long</a></code></dd> <dd><code>register</code></dd> <dd><code>return</code></dd> <dd><code><a href="/w/index.php?title=Short_integer&amp;action=edit&amp;redlink=1" class="new" title="Short integer (stranica ne postoji)">short</a></code></dd> <dd><code>signed</code></dd> <dd><code><a href="/w/index.php?title=Sizeof&amp;action=edit&amp;redlink=1" class="new" title="Sizeof (stranica ne postoji)">sizeof</a></code></dd> <dd><a href="/w/index.php?title=Static_(keyword)&amp;action=edit&amp;redlink=1" class="new" title="Static (keyword) (stranica ne postoji)"><code>static</code></a></dd></dl> </td> <td style="text-align: left; vertical-align: top;"> <dl><dd><code><a href="/w/index.php?title=Struct_(C_programming_language)&amp;action=edit&amp;redlink=1" class="new" title="Struct (C programming language) (stranica ne postoji)">struct</a></code></dd> <dd><code><a href="/w/index.php?title=Switch_statement&amp;action=edit&amp;redlink=1" class="new" title="Switch statement (stranica ne postoji)">switch</a></code></dd> <dd><code>typedef</code></dd> <dd><code>union</code></dd> <dd><code>unsigned</code></dd> <dd><code><a href="/w/index.php?title=Void_type&amp;action=edit&amp;redlink=1" class="new" title="Void type (stranica ne postoji)">void</a></code></dd> <dd><code><a href="/w/index.php?title=Volatile_variable&amp;action=edit&amp;redlink=1" class="new" title="Volatile variable (stranica ne postoji)">volatile</a></code></dd> <dd><code><a href="/w/index.php?title=While_loop&amp;action=edit&amp;redlink=1" class="new" title="While loop (stranica ne postoji)">while</a></code></dd></dl> <p class="mw-empty-elt"></p> </td></tr></tbody></table> <p>Stadardom C99 dodaje se još 5 novih riječi: </p> <table cellspacing="0" cellpadding="0" class="" style="background-color: transparent; color:inherit; width: 100%;"> <tbody><tr> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code>_Bool</code></dd> <dd><code>_Complex</code></dd></dl> </td> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code>_Imaginary</code></dd> <dd><code><a href="/w/index.php?title=Inline_function&amp;action=edit&amp;redlink=1" class="new" title="Inline function (stranica ne postoji)">inline</a></code></dd></dl> </td> <td style="text-align: left; vertical-align: top;"> <dl><dd><code><a href="/w/index.php?title=Restrict&amp;action=edit&amp;redlink=1" class="new" title="Restrict (stranica ne postoji)">restrict</a></code></dd></dl> <p class="mw-empty-elt"></p> </td></tr></tbody></table> <p>Standardom C11 dodaje se još 7 novih riječi: </p> <table cellspacing="0" cellpadding="0" class="" style="background-color: transparent; color:inherit; width: 100%;"> <tbody><tr> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code>_Alignas</code></dd> <dd><code>_Alignof</code></dd></dl> </td> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code>_Atomic</code></dd> <dd><code>_Generic</code></dd></dl> </td> <td style="width: 20%;text-align: left; vertical-align: top;"> <dl><dd><code>_Noreturn</code></dd> <dd><code>_Static_assert</code></dd></dl> </td> <td style="text-align: left; vertical-align: top;"> <dl><dd><code>_Thread_local</code></dd></dl> <p class="mw-empty-elt"></p> </td></tr></tbody></table> <div class="mw-heading mw-heading2"><h2 id="Struktura_programa_pisanog_u_C-u">Struktura programa pisanog u C-u</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=13" title="Uredi odlomak: Struktura programa pisanog u C-u" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=13" title="Uredi kôd odjeljka Struktura programa pisanog u C-u"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Najjednostavniji program je onaj koji zadani tekst ispisuje na ekran. Da bi se mogao ispravno napisati čak i tako jednostavan program, potrebno je poznavati strukturu programa odabranog programskog jezika. </p><p>Struktura programa odnosi se na način pisanja programa i ako se ona ne poštuje, program neće raditi, bez obzira na to što su uporabljene sve potrebne naredbe. Svaki program pisan u programskom jeziku C sastavljen je od niza <a href="/w/index.php?title=Funkcija_(programiranje)&amp;action=edit&amp;redlink=1" class="new" title="Funkcija (programiranje) (stranica ne postoji)">funkcija</a>. Glavna i jedina obavezna funkcija u programu je funkcija <b>main( )</b>. Program se može sastojati i od većeg broja funkcija. </p><p>Bitna razlika između C-a i ostalih <a href="/wiki/Programski_jezik" title="Programski jezik">programskih jezika</a> je u tome što u C-u ne postoje ugrađene funkcije. One se nalaze u bibliotekama funkcija koje se isporučuju zajedno s prevoditeljem. Biblioteke funkcija nastale su standardizacijom C-a, pa je dovoljno na početku programa najaviti da će se upotrebljavati određena biblioteka i u cijelom programu dostupne su sve funkcije koje se u njoj nalaze. Tako se biblioteka u kojoj se nalaze funkcije za ulaz i izlaz podataka naziva <a href="/wiki/Stdio.h" title="Stdio.h">stdio.h</a>, <a href="/wiki/Matematika" title="Matematika">matematičke</a> funkcije nalaze se u biblioteci <i>math.h</i>, a funkcije za rad sa znakovnim <a href="/wiki/Varijabla" title="Varijabla">varijablama</a> u biblioteci <i>string.h</i>. </p><p>Na početku svakog C programa uobičajeno je pisati pretprocesorske naredbe kojima se pozivaju biblioteke funkcija koje se rabe u programu. Opći oblik te naredbe je: <b>#naredba parametri</b>. Najčešće upotrebljavana pretprocesorska naredba je: <b>#include &lt;ime datoteke&gt;</b> i obavezno se piše prije funkcije <i>main( )</i>. Prevođenjem programa na mjesto naredbe #include kopira se sadržaj navedene datoteke. </p><p>Isto tako, prije samog pisanja programa treba istaknuti da se programi napisani u C-u sastoje od niza međusobno povezanih funkcija čiji broj nije ograničen. U svakom programu je obavezna samo jedna funkcija - funkcija <b>main( )</b> koja označava mjesto na kojem počinje izvršavanje programa. Početak i kraj funkcije označava se vitičastim zagradama. Nakon svake naredbe u C-u mora stajati znak <b>;</b> koji (kao i u <a href="/wiki/Pascal_(programski_jezik)" title="Pascal (programski jezik)">Pascalu</a>) označava kraj jedne i početak druge naredbe. </p> <div class="mw-heading mw-heading2"><h2 id="Programski_primjer">Programski primjer</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=14" title="Uredi odlomak: Programski primjer" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=14" title="Uredi kôd odjeljka Programski primjer"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>U sljedećem primjeru korisnik unosi 2 broja, a nakon unosa na zaslonu se ispisuje njihov zbroj: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf">&lt;stdio.h&gt;</span> <span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="n">b</span><span class="p">;</span> <span class="w"> </span><span class="n">scanf</span><span class="p">(</span><span class="s">&quot;Prvi broj %d&quot;</span><span class="p">,</span><span class="o">&amp;</span><span class="n">a</span><span class="p">);</span> <span class="w"> </span><span class="n">scanf</span><span class="p">(</span><span class="s">&quot;Drugi broj %d&quot;</span><span class="p">,</span><span class="o">&amp;</span><span class="n">b</span><span class="p">);</span> <span class="w"> </span><span class="n">printf</span><span class="p">(</span><span class="s">&quot;Njihov zbroj je = %d</span><span class="se">\n</span><span class="s">&quot;</span><span class="p">,</span><span class="n">a</span><span class="o">+</span><span class="n">b</span><span class="p">);</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span> <span class="p">}</span> </pre></div> <p>U sljedećem primjeru na zaslonu će se ispisati tablica množenja do 10: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf">&lt;stdio.h&gt;</span> <span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">(</span><span class="kt">void</span><span class="p">){</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="n">b</span><span class="p">;</span> <span class="w"> </span><span class="k">for</span><span class="p">(</span><span class="n">a</span><span class="o">=</span><span class="mi">1</span><span class="p">;</span><span class="w"> </span><span class="n">a</span><span class="o">&lt;=</span><span class="mi">10</span><span class="p">;</span><span class="w"> </span><span class="n">a</span><span class="o">++</span><span class="p">)</span> <span class="w"> </span><span class="k">for</span><span class="p">(</span><span class="n">b</span><span class="o">=</span><span class="mi">1</span><span class="p">;</span><span class="w"> </span><span class="n">b</span><span class="o">&lt;=</span><span class="mi">10</span><span class="p">;</span><span class="w"> </span><span class="n">b</span><span class="o">++</span><span class="p">)</span> <span class="w"> </span><span class="n">printf</span><span class="p">(</span><span class="s">&quot;%d*%d=%d</span><span class="se">\n</span><span class="s">&quot;</span><span class="p">,</span><span class="w"> </span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="n">b</span><span class="p">,</span><span class="w"> </span><span class="n">a</span><span class="o">*</span><span class="n">b</span><span class="p">);</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span> <span class="p">}</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Funkcije_za_ispis">Funkcije za ispis</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=15" title="Uredi odlomak: Funkcije za ispis" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=15" title="Uredi kôd odjeljka Funkcije za ispis"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Ispis_teksta">Ispis teksta</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=16" title="Uredi odlomak: Ispis teksta" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=16" title="Uredi kôd odjeljka Ispis teksta"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Najčešće upotrebljavana funkcija za ispis u C-u je ona za formatirani ispis: <b>printf( )</b>. Njezina sintaksa ima ovaj oblik: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="n">printf</span><span class="w"> </span><span class="p">(</span><span class="s">&quot;niz znakova koji se trebaju ispisati na zaslonu&quot;</span><span class="p">);</span> </pre></div> <p>Zbog već istaknute specifičnosti C-a, koji sve funkcije ima pohranjene u bibliotekama funkcija, potrebno je pretprocesorskom naredbom <b>#include</b> najaviti uporabu biblioteke <i>stdio.h</i> u kojoj je pohranjena većina ulazno - izlaznih funkcija. </p><p>Primjer korištenja funkcije <b>printf( )</b>: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf">&lt;stdio.h&gt;</span> <span class="n">main</span><span class="p">()</span> <span class="p">{</span> <span class="n">printf</span><span class="w"> </span><span class="p">(</span><span class="s">&quot;Ispiši ovo na zaslon ekrana&quot;</span><span class="p">);</span> <span class="p">}</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Ispis_vrijednosti">Ispis vrijednosti</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=17" title="Uredi odlomak: Ispis vrijednosti" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=17" title="Uredi kôd odjeljka Ispis vrijednosti"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Sam ispis teksta rabi se vrlo rijetko. Namjena svakog programa je obrada <a href="/wiki/Podatak" title="Podatak">podataka</a> i prikaz <a href="/w/index.php?title=Rezultat&amp;action=edit&amp;redlink=1" class="new" title="Rezultat (stranica ne postoji)">rezultata</a> te obrade (ispis dobivenih vrijednosti). Pri ispisu vrijednosti potrebno je definirati format ispisa. Njime se oblikuje način ispisa vrijednosti. Pojam formata usko je vezan za tipove podataka. </p><p>Podaci u C-u mogu biti: </p> <ul><li><a href="/wiki/Cijeli_brojevi" class="mw-redirect" title="Cijeli brojevi">cjelobrojni</a> (int)</li> <li><a href="/wiki/Realni_broj" title="Realni broj">realni</a> (float)</li> <li>realni dvostruke točnosti (double)</li> <li>znakovni (char)</li> <li>tip podataka koji ne sadržava vrijednost (void)</li></ul> <p>Svaki od navedenih može biti s predznakom (signed) ili bez njega (unsigned). Opsegvrijednosti se može odrediti parametrima <i>short</i> i <i>long</i>, koji određuju krajnje vrijednosti svakog tipa. Razlika među njima je u broju <a href="/wiki/Bit" title="Bit">bitova</a> koje zauzimaju prilikom zapisa u <a href="/wiki/Memorija_(ra%C4%8Dunala)" class="mw-redirect" title="Memorija (računala)">memoriji</a>: </p> <table class="wikitable" style="text-align:center"> <tbody><tr> <th></th> <th>Tip podataka </th> <th>Vrsta </th> <th>Predznak</th> <th>Duljina (broj bajtova)<sup id="cite_ref-:0_2-0" class="reference"><a href="#cite_note-:0-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup></th> <th>Opseg<sup id="cite_ref-:0_2-1" class="reference"><a href="#cite_note-:0-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup> </th></tr> <tr> <th>1 </th> <td rowspan="5">int </td> <td rowspan="2">short </td> <td>signed</td> <td>2</td> <td>-32768 do 32767 </td></tr> <tr> <th> </th> <th>unsigned </th> <th>2 </th> <th>0 do 65.535 </th></tr> <tr> <th> </th> <th rowspan="2"><b>long</b> </th> <th>signed </th> <th>4 </th> <th>–2.147.483.648 do 2.147.483.647 </th></tr> <tr> <th> </th> <th>unsigned </th> <th>4 </th> <th>0 do 4.294.967.295 </th></tr> <tr> <th> </th> <th rowspan="2">long long </th> <th>signed </th> <th>8 </th> <th>–9.223.372.036.854.775.808 do 9.223.372.036.854.775.807 </th></tr> <tr> <th> </th> <th> </th> <th>unsigned </th> <th>8 </th> <th>0 do 18.446.744.073.709.551.615 </th></tr> <tr> <th>2 </th> <td>float </td> <td> </td> <td></td> <td>4</td> <td>-3.4·10<sup>−38</sup> do 3.4·10<sup>38</sup> </td></tr> <tr> <th>3 </th> <td>double </td> <td> </td> <td></td> <td>8</td> <td>-1.7·10<sup>−308</sup> do 1.7·10<sup>308</sup> </td></tr> <tr> <th>4 </th> <td rowspan="2">char </td> <td rowspan="2">long </td> <td>signed</td> <td>1</td> <td>-128 do 127 </td></tr> <tr> <th> </th> <td>unsigned </td> <th>1 </th> <th>0 do 255 </th></tr> <tr> <th>5 </th> <th>bool </th> <th> </th> <th> </th> <th>1 </th> <th>true (1) ili false (0) </th></tr> <tr> <th>6 </th> <td>void </td> <td> </td> <td></td> <td>0</td> <td>bez vrijednosti </td></tr></tbody></table><p> Za ispis vrijednosti upotrebljava se se funkcija <b>printf( )</b> koja je oblika:</p><div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="n">printf</span><span class="p">(</span><span class="s">&quot;lista formata&quot;</span><span class="p">,</span><span class="w"> </span><span class="n">lista</span><span class="w"> </span><span class="n">varijabli</span><span class="p">);</span> </pre></div> <p>Najčešće korištene oznake formata za ispis: </p> <table class="wikitable" style="text-align:center"> <tbody><tr> <th></th> <th>Format</th> <th>Značenje </th></tr> <tr> <th>1 </th> <td>%c</td> <td>oznaka formata za ispis jednog znaka </td></tr> <tr> <th>2 </th> <td>%d</td> <td>ispis cijelog broja </td></tr> <tr> <th>3 </th> <td>%f</td> <td>ispis realnog broja </td></tr> <tr> <th>4 </th> <td>%lf</td> <td>ispis realnog broja tipa double </td></tr> <tr> <th>5 </th> <td>%s</td> <td>ispis niza znakova </td></tr> <tr> <th>6 </th> <td>%e</td> <td>ispis realnog broja u E-notaciji </td></tr></tbody></table> <p>Izgled ispisa na zaslonu uređuje se unutar dvostrukih navodnika, a u listi varijabli dolazi samo popis varijabli. To prilično olakšava rad s kombiniranim ispisom, jer nema mnogo kompliciranja i kombiniranja naovodnika i zareza kao u ostalim programskim jezicima. Unutar navodnika kreira se izgled ispisa na ekran, a izvan njih redom se navode sve varijable čije se vrijednosti trebaju ispisati. Redoslijed oznaka formata mora odgovarati redoslijedu imena varijabli. Pogrešno zadan format u odnosu na deklaraciju varijable rezultirat će porešnim ispisom. </p><p><b>Primjer:</b> </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf">&lt;stdio.h&gt;</span> <span class="n">main</span><span class="p">(</span><span class="w"> </span><span class="p">)</span> <span class="p">{</span> <span class="n">printf</span><span class="p">(</span><span class="s">&quot;</span><span class="se">\n</span><span class="s"> rezultat izraza %d+%d je %d&quot;</span><span class="p">,</span><span class="w"> </span><span class="mi">3</span><span class="p">,</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w"> </span><span class="mi">3</span><span class="o">+</span><span class="mi">2</span><span class="p">);</span> <span class="p">}</span> </pre></div> <p>Na zaslonu će se ispisati: </p><p><i>rezultat izraza 3+2 je 5</i> </p> <div class="mw-heading mw-heading2"><h2 id="Aritmetički_operatori"><span id="Aritmeti.C4.8Dki_operatori"></span>Aritmetički operatori</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=18" title="Uredi odlomak: Aritmetički operatori" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=18" title="Uredi kôd odjeljka Aritmetički operatori"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>U programskom jeziku C za <a href="/wiki/Zbrajanje" title="Zbrajanje">zbrajanje</a> se uoptrebljava aritmetički operator <b>+</b>. Preostali standardni aritmetički operatori u C-u su: -, *, / i&#160;%. Oni se rabe za matematičke operacije: </p> <table class="wikitable" style="text-align:center"> <tbody><tr> <th></th> <th>Operacija</th> <th>Operator </th></tr> <tr> <th>1 </th> <td><a href="/wiki/Zbrajanje" title="Zbrajanje">zbrajanje</a></td> <td><b>+</b> </td></tr> <tr> <th>2 </th> <td><a href="/wiki/Oduzimanje" title="Oduzimanje">oduzimanje</a></td> <td><b>-</b> </td></tr> <tr> <th>3 </th> <td><a href="/wiki/Mno%C5%BEenje" title="Množenje">množenje</a></td> <td><b>*</b> </td></tr> <tr> <th>4 </th> <td><a href="/wiki/Dijeljenje" title="Dijeljenje">dijeljenje</a></td> <td><b>/</b> </td></tr> <tr> <th>5 </th> <td>modulo (ostatak cjelobrojnog dijeljenja)</td> <td><b>%</b> </td></tr></tbody></table> <p>Viši prioritet imaju operatori&#160;%, * i /, a niži + i -. Rezultat dijeljenja dvaju cijelih brojeva u C-u je <a href="/wiki/Cijeli_broj" title="Cijeli broj">cijeli broj</a>, pa zbog toga ne postoji potreba za posebnim operatorom cjelobrojnog dijeljenja. </p> <div class="mw-heading mw-heading2"><h2 id="Učitavanje_podataka"><span id="U.C4.8Ditavanje_podataka"></span>Učitavanje podataka</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=19" title="Uredi odlomak: Učitavanje podataka" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=19" title="Uredi kôd odjeljka Učitavanje podataka"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Podatke u programu dijelimo na: </p> <ul><li><b>varijable</b> - podaci čije se vrijednosti tijekom izvođenja programa mijenjanju</li> <li><b>konstante</b> - podaci čije se vrijednosti ne mogu mijenjati</li></ul> <div class="mw-heading mw-heading3"><h3 id="Identifikatori">Identifikatori</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=20" title="Uredi odlomak: Identifikatori" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=20" title="Uredi kôd odjeljka Identifikatori"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Varijablama, konstantama i funkcijama dodjeljujemo imena - identifikatore. Oni se sastoje od niza alfanumeričkih znakova (brojke i slova), od kojih prvi znak mora biti slovo ili donja crta (<b>_</b>). Dva identifikatora su različita ako se razlikuju u prva 32 znaka. Identifikatori ne smiju biti ključne riječi programskog jezika C. Programski jezik C razlikuje velika i mala slova, tako da su varijable <b>a</b> i <b>A</b> dvije različite varijable. </p><p>Za identifikatore nije moguće rabiti <b>ključne riječi</b>. One zajedno sa sintaksom programskog jezika određuju što se i na koji način u određenome programskom jeziku može učiniti. Ključnih riječi u C-u ima poprilično malo (32 ključne riječi definirane <a href="/wiki/Standard" title="Standard">standardom</a> ANSI C) no kasnije su proširivane tako da sada u modernim inačicama programskog jezika C ima 44 (koje čine jezgru jezika i dovoljne su za rješavanje svih problema) i pišu se malim slovima. </p> <div class="mw-heading mw-heading3"><h3 id="Konstante">Konstante</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=21" title="Uredi odlomak: Konstante" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=21" title="Uredi kôd odjeljka Konstante"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Konstane su vrijednosti koje se zadaju jedanput i ne mijenjaju se tijekom izvođenja programa. S obzirom na tipove podataka razlikuju se <b>cjelobrojne</b>, <b>realne</b> i <b>znakovne</b> konstante. </p><p><b>Cjelobrojne konstante</b> su cijeli brojevi iz dopuštenog opsega, zapisani u standardnom obliku. </p><p><b>Realne konstante</b> sadržavaju realne brojeve s predznakom ili bez njega, zapisane u standardnom obliku tako da decimalna točka odvaja cjelobrojni dio od decimalnoga. Mogu se zapisati i u eksponencijalom obliku. Pvi dio takvog zapisa je realan broj (s predznakom ili bez njega), zatim slovo e ili E i iza njega cijeli broj (s predznakom ili bez njega), npr. broj 0.02 može biti zapisan kao 2E-2. </p><p>Od numeričkih konstanti C dopušta još i oktalne i heksadekadske konstante. Oktalne konstane počinju s 0, a heksadekadske s 0x. (npr. 044 - oktalna, 0xaba - heksadekadska). </p><p><b>Znakovne konstante</b> zadaju se unutar jednostrukih navodnika - literala ' ' i uglavnom se sastoje od jednog znaka (osim već spomenutih znakovnih konstanti koje se rabe za kontrolu ispisa). Vrijednost znakovne varijable odgovara numeričkoj vrijednosti koja odgovara <a href="/wiki/ASCII" title="ASCII">ASCII</a> kodu znaka koji se nalazi unutar jednostrukih navodnika. Tako je numerička vrijednost znakovne konstante 'Z' 90. Znakovne konstante mogu se pojavljivati u aritmetičkim izrazima i tada se upotrebljava isključivo njihova numerička vrijednost. </p><p>Osim navedenih tipova konstanti, programski jezik C definira i <b>konstantu niza znakova</b> (<i>string constant</i>), koja se sastoji od niza znakova unutar para navodnika, npr. "konstanta". </p><p><b>Neke znakovne konstante za kontrolu ispisa:</b> </p><p>\f - nova stranica </p><p>\n - novi red </p><p>\r - povratak na početak linije </p> <div class="mw-heading mw-heading3"><h3 id="Funkcije_za_učitavanje"><span id="Funkcije_za_u.C4.8Ditavanje"></span>Funkcije za učitavanje</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=22" title="Uredi odlomak: Funkcije za učitavanje" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=22" title="Uredi kôd odjeljka Funkcije za učitavanje"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Za unošenje podataka s tipkovnice u C-u postoji nekoliko funkcija. Najčešće se rabi funkcija za formatirani unos podataka <b>scanf( )</b>. Njezina je sintaksa: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="n">scanf</span><span class="p">(</span><span class="s">&quot;lista_formata&quot;</span><span class="p">,</span><span class="n">lista_varijabli</span><span class="p">);</span> </pre></div> <p>Kao i kod funkcije printf( ), u <b>listu formata</b> upisuju se oznake formata za tip varijabli, a u <b>listu varijabli </b> popis imena varijabli istim redoslijedom kao u popisu formata. Varijable navedene u listi međusobno se odvajaju zarezom. Budući da se u C-u njihove vrijednosti prenose s pomoću adrese, ispred imena imena svake varijable treba dodati i adresni <b>operator &amp;</b> (operator za dodjeljivanje adrese). </p><p><b>Oznake formata tipa varijabli</b> jednake su onima koje se upotrebljavaju u ispisu, ali mora se paziti kako se odvajaju u listi formata, jer to određuje način unosa podataka pri izvođenju programa. Ako su oznake formata odvojene zarezom, i vrijednosti varijabli se prilikom unošenja podataka odvajaju <a href="/wiki/Zarez" title="Zarez">zarezom</a>. Ako nema zareza, vrijednosti se odvajaju razmakom. </p> <div class="mw-heading mw-heading2"><h2 id="Deklaracija_varijabli_u_C-u">Deklaracija varijabli u C-u</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=23" title="Uredi odlomak: Deklaracija varijabli u C-u" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=23" title="Uredi kôd odjeljka Deklaracija varijabli u C-u"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/w/index.php?title=Podaci&amp;action=edit&amp;redlink=1" class="new" title="Podaci (stranica ne postoji)">Podaci</a> čije će se <a href="/w/index.php?title=Vrijednost&amp;action=edit&amp;redlink=1" class="new" title="Vrijednost (stranica ne postoji)">vrijednosti</a> mijenjati tijekom izvođenja programa (varijable) moraju se prije sam uporabe najaviti (deklarirati). Deklaracijom se zadaju <b>tip</b> i <b>ime varijable</b>. Varijable se najčešće deklariraju na samome početku programa, ali to nije uvjet. Varijabla se u C-u može deklarirati izvan svih funkcija, na početku funkcije ili na početku bloka naredbi. </p><p>Opći oblik naredbe za deklaraciju jest: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="n">tip_podataka</span><span class="w"> </span><span class="n">lista</span><span class="w"> </span><span class="n">varijabli</span><span class="p">;</span> </pre></div> <p><b>Tip_podataka</b> jedan je od osnovnih ili korisnički definiranih tipova podataka, a <b>lista_varijabli</b> niz je imena varijabli (odvojenih zarezom) koje će tijekom izvršavanja programa sadržavati vrijednosti zadanog tipa podataka. </p><p>Naredbom za deklaraciju se u memoriji rezervira memorijska lokacija za svaku varijablu navedenu u listi varijabli. Veličina rezerviranog prostora ovisi o navedenom tipu podataka (2 bajta za broj tipa <i>int</i>, 4 za <i>float</i>...). </p><p>Tako se naredbama: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="kt">int</span><span class="w"> </span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="n">b</span><span class="p">,</span><span class="w"> </span><span class="n">c</span><span class="p">;</span> <span class="kt">float</span><span class="w"> </span><span class="n">x</span><span class="p">,</span><span class="w"> </span><span class="n">y</span><span class="p">;</span> </pre></div> <p>u memoriji rezervira 5 zasebnih lokacija. Za varijable a, b i c one su veličine 2, dok su za varijable x i y veličine 4 <a href="/wiki/Bajt" title="Bajt">bajta</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Naredba_pridruživanja"><span id="Naredba_pridru.C5.BEivanja"></span>Naredba pridruživanja</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=24" title="Uredi odlomak: Naredba pridruživanja" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=24" title="Uredi kôd odjeljka Naredba pridruživanja"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><b>Naredbom pridruživanja</b> varijablama se zadaju ili mijenjaju vrijednosti. </p><p><b>Operator pridruživanja</b> u programskom jeziku C je <b>=</b>. Njegova je uloga da vrijednost izraza s <a href="/w/index.php?title=Desno&amp;action=edit&amp;redlink=1" class="new" title="Desno (stranica ne postoji)">desne</a> strane pridruži varijabli na <a href="/w/index.php?title=Lijevo&amp;action=edit&amp;redlink=1" class="new" title="Lijevo (stranica ne postoji)">lijevoj</a> strani. Operator pridruživanja ima najniži prioritet izvršavanja. </p><p>Opći oblik naredbe za pridruživanje vrijednosti je: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="n">varijabla</span><span class="o">=</span><span class="n">izraz</span><span class="p">;</span> </pre></div> <p>Več je rečeno da se varijable u C-u mogu najaviti izvan svih funkcija, na početku funkcije ili na početku bloka naredbi. Područje djelovanja određene varijable ovisi o mjestu na kojem je deklarirana, pa ovisno o tome, varijable mogu biti: </p> <ul><li><b>globalne</b> - deklariraju se izvan svih funkcija i mogu se rabiti u cijelom programu</li> <li><b>lokalne</b> - varijable koje se deklariraju na početku funkcije ili kao argumenti funkcije i dostupne su samo u toj funkciji (ili bloku naredbi). Izvan funkcije ili bloka lokalne varijable ne postoje. Imena tih varijabli u različitim funkcijama ili blokovima mogu biti ista.</li></ul> <p>Definicijom globalne varijable automatski joj se dodjeljuje vrijednost 0, dok lokalne varijable ne sadržavaju početnu vrijednost i moraju se inicijalizirati posebnom naredbom tijekom deklaracije ili nakon nje (ali prije njezina prvog korištenja). Početne vrijednosti varijablama se dodjeljuju naredbom pridruživanja. </p><p><b>Primjer:</b> Naredbom <i>int a=5;</i> deklarirana je cjelobrojna varijabla a i pridružena joj je početna vrijednost 5. Isti efekt postiže se ako se varijabla <i>a</i> deklarira (<i>int a;</i>) prije, a naknadno joj se dodijeli početna vrijednost (<i>a=5</i>). </p> <div class="mw-heading mw-heading2"><h2 id="Biblioteke_programa">Biblioteke programa</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=25" title="Uredi odlomak: Biblioteke programa" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=25" title="Uredi kôd odjeljka Biblioteke programa"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Uz programski jezik C se isporučuju standardne biblioteke rutina. Biblioteke sadrže procedure, funkcije i promenljive. Rutine iz biblioteka se uključuju u program ključnom reči: &#160; &#160;<b>#include &lt;biblioteka.h&gt;</b> </p><p>Prva biblioteka koju smo upoznali: <b>stdio.h</b> &#160;&#160; sadži rutine i promenljive vezane za ulazno-izlazne poslove. &#160;Ostale biblioteke su: </p> <ul><li><b>h</b> – matematičke funkcije</li> <li><b>h</b> – korisničke funkcije, konverzije, smiještanje podataka itd.</li> <li><b>h</b> – biblioteka za rad sa stringovima</li> <li><b>h</b> – biblioteka za testiranje i konverziju karaktera</li> <li><b>h</b> – biblioteka za rad s datumom i vremenom</li></ul> <p>OS-specifične: </p> <ul><li><b>h</b> – za rad s konzolom</li> <li><b>h</b> – za pristup rutinama BIOS-a</li> <li><b>h</b> – za rad s funkcijama DOS-a</li> <li><b>h</b> – za rad s funkcijama Windows-a</li></ul> <p><b>Stdio.h &#160; funkcije:</b> </p> <ul><li><b>fopen</b>/<b>fclose</b> – otvaranje/zatvaranje datoteke</li> <li><b>fprintf</b>/<b>fscanf</b> – štampanje/čitanje iz datoteke</li> <li><b>printf</b>/<b>scanf</b> – štampanje/čitanje iz standardnog ulaza/izlaza (tastatura/ekran)</li> <li><b>putc</b>/<b>getc</b> – štampanje/učitavanje jednog znaka iz standardnog ulaza/izlaza</li> <li><b>puts</b>/<b>gets</b> – štampanje/učitavanje stringa iz standardnog ulaza/izlaza</li> <li><b>fread</b>/<b>fwrite</b> – učitavanje/snimanje bloka bajtova iz datoteke</li></ul> <p><b>Math.h &#160; funkcije:</b> </p> <ul><li><b>sin</b>, <b>cos</b>, <b>tan</b></li> <li><b>asin</b>, <b>acos</b>, <b>atan</b></li> <li><b>sinh</b>, <b>cosh</b>, <b>tanh</b></li> <li><b>exp(x)</b> à e<sup>x</sup></li> <li><b>log(x)</b> à ln(x)</li> <li><b>log10(x)</b> à log(x)</li> <li><b>pow(x, y)</b> à x<sup>y</sup></li> <li><b>sqrt</b> – kvadratni korijen</li> <li><b>ceil</b> – zaokruživanje na gore</li> <li><b>floor</b> – zaokruživanje na dolje</li></ul> <p><b>Stdlib.h &#160; &#160; funkcije:</b> </p> <ul><li><b>atof</b> – konverzija stringa u float</li> <li><b>atoi</b> – konverzija stringa u int</li> <li><b>atol</b> – konverzija stringa u long</li> <li><b>rand</b>, <b>random</b> – pseudoslučajni broj</li> <li><b>malloc</b>/<b>free</b> – alokacija/oslobađanje memorije</li> <li><b>exit</b> – završetak rada programa</li> <li><b>system</b> – izvršava program</li> <li><b>abs</b> – apsolutna vrijednost</li> <li><b>qsort</b> – QUICK SORT</li> <li><b>div</b> – cijelobrojno dijeljenje</li></ul> <p><b>String.h &#160;&#160; funkcije:</b> </p> <ul><li><b>strcpy</b> – kopira polazni string u odredišni</li> <li><b>strncpy</b> – kopira polaznih n slova u odredišni string</li> <li><b>strcat</b> – spaja drugi string na kraj prvog</li> <li><b>strncat</b> – spaja najviše n slova drugog stringa na kraj prvog</li> <li><b>strcmp</b> – poredi stringove</li> <li><b>strncmp</b> – poredi najviše n slova prvog stringa s drugim</li> <li><b>strchr</b> – vraća pokazivač na prvo mesto zadatog slova u stringu</li> <li><b>strstr</b> – vraća pokazivač na prvu pojavu zadatog stringa u prvom stringu</li> <li><b>strlen</b> – vraća dužinu stringa</li></ul> <p><b>Ctype.h &#160; funkcije:</b> </p> <ul><li><b>isalpha</b> – je li slovo</li> <li><b>isdigit</b> – je li broj</li> <li><b>isalnum</b> – je li alfanumerik (slovo ili broj)</li> <li><b>iscntrl</b> – je li kontrolni znak</li> <li><b>islower</b>/<b>isupper</b> – je li malo/veliko slovo</li> <li><b>isxdigit</b> – je li heksadecimalna cifra</li></ul> <p><b>Time.h &#160;&#160; funkcije:</b> </p> <ul><li><b>time</b> – vraća trenutno kalendarsko vrijeme</li> <li><b>difftime</b> – vraća razliku dvaju vremena u sekundama</li> <li><b>strftime</b> – pravi formatiranu tekstualnu reprezentaciju vremena i datuma</li></ul> <p><br /> Primjeri: </p><p>#define _CRT_SECURE_NO_WARNINGS </p><p>#include &lt;stdio.h&gt; </p><p>#include &lt;string.h&gt; </p><p>#include &lt;stdlib.h&gt; </p> <div class="mw-heading mw-heading2"><h2 id="Poznate_inačice"><span id="Poznate_ina.C4.8Dice"></span>Poznate inačice</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=26" title="Uredi odlomak: Poznate inačice" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=26" title="Uredi kôd odjeljka Poznate inačice"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading2"><h2 id="Izvori">Izvori</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=27" title="Uredi odlomak: Izvori" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=27" title="Uredi kôd odjeljka Izvori"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r6541845">.mw-parser-output .reflist{font-size:90%;margin-bottom:0.5em;list-style-type:decimal}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist reflist-columns references-column-width" style="column-width: 30em;"> <ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external free" href="http://www.open-std.org/JTC1/SC22/WG14/www/C99RationaleV5.10.pdf">http://www.open-std.org/JTC1/SC22/WG14/www/C99RationaleV5.10.pdf</a> Objašnjenje standarda C99 (engleski), pristupljeno 15. lipnja 2015</span> </li> <li id="cite_note-:0-2"><span class="mw-cite-backlink">↑ <a href="#cite_ref-:0_2-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-:0_2-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><a rel="nofollow" class="external free" href="https://msdn.microsoft.com/en-us/library/s3f49ktz.aspx">https://msdn.microsoft.com/en-us/library/s3f49ktz.aspx</a></span> </li> </ol></div> <div class="mw-heading mw-heading2"><h2 id="Vanjske_poveznice">Vanjske poveznice</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C_(programski_jezik)&amp;veaction=edit&amp;section=28" title="Uredi odlomak: Vanjske poveznice" class="mw-editsection-visualeditor"><span>uredi</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C_(programski_jezik)&amp;action=edit&amp;section=28" title="Uredi kôd odjeljka Vanjske poveznice"><span>uredi kôd</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a rel="nofollow" class="external text" href="http://www.cprogramming.com/">Programiranje u C-u i C++-u</a></li> <li><a rel="nofollow" class="external text" href="http://code-reference.com/">C-u i C++-u Library / Reference</a></li> <li><a rel="nofollow" class="external text" href="https://c.happycodings.com/">Happy Codings</a></li></ul> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐85fc59d95f‐4nptp Cached time: 20241114013222 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.109 seconds Real time usage: 0.902 seconds Preprocessor visited node count: 485/1000000 Post‐expand include size: 1580/2097152 bytes Template argument size: 76/2097152 bytes Highest expansion depth: 6/100 Expensive parser function count: 10/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 9509/5000000 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 824.545 1 -total 2.03% 16.715 1 Predložak:Izvori 0.47% 3.872 11 Predložak:Col-break 0.41% 3.341 3 Predložak:Col-begin 0.27% 2.256 3 Predložak:Col-end --> <!-- Saved in parser cache with key hrwiki:pcache:idhash:11198-0!canonical and timestamp 20241114013222 and revision id 6762871. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Dobavljeno iz "<a dir="ltr" href="https://hr.wikipedia.org/w/index.php?title=C_(programski_jezik)&amp;oldid=6762871">https://hr.wikipedia.org/w/index.php?title=C_(programski_jezik)&amp;oldid=6762871</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Posebno:Kategorije" title="Posebno:Kategorije">Kategorija</a>: <ul><li><a href="/wiki/Kategorija:Programski_jezici" title="Kategorija:Programski jezici">Programski jezici</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> Ova stranica posljednji je put uređivana 1. studenoga 2023. u 18:15.</li> <li id="footer-info-copyright">Tekst je dostupan pod licencijom <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.hr">Creative Commons: Imenuj autora/Dijeli pod istim uvjetima</a>; mogu se primjenjivati i dodatni uvjeti. Pogledajte <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Uvjete upotrebe</a> za detalje.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Zaštita privatnosti</a></li> <li id="footer-places-about"><a href="/wiki/Impresum">Impresum</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedija:Op%C4%87e_odricanje_od_odgovornosti">Odricanje od odgovornosti</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Kodeks ponašanja</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Razvojni programeri</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/hr.wikipedia.org">Statistika</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Izjava o kolačićima</a></li> <li id="footer-places-mobileview"><a href="//hr.m.wikipedia.org/w/index.php?title=C_(programski_jezik)&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Prikaz za mobilne uređaje</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-57488d5c7d-29gmv","wgBackendResponseTime":202,"wgPageParseReport":{"limitreport":{"cputime":"0.109","walltime":"0.902","ppvisitednodes":{"value":485,"limit":1000000},"postexpandincludesize":{"value":1580,"limit":2097152},"templateargumentsize":{"value":76,"limit":2097152},"expansiondepth":{"value":6,"limit":100},"expensivefunctioncount":{"value":10,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":9509,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 824.545 1 -total"," 2.03% 16.715 1 Predložak:Izvori"," 0.47% 3.872 11 Predložak:Col-break"," 0.41% 3.341 3 Predložak:Col-begin"," 0.27% 2.256 3 Predložak:Col-end"]},"cachereport":{"origin":"mw-web.codfw.main-85fc59d95f-4nptp","timestamp":"20241114013222","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"C (programski jezik)","url":"https:\/\/hr.wikipedia.org\/wiki\/C_(programski_jezik)","sameAs":"http:\/\/www.wikidata.org\/entity\/Q15777","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q15777","author":{"@type":"Organization","name":"Doprinositelji projektima Wikimedije"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2004-11-24T12:41:39Z","dateModified":"2023-11-01T17:15:23Z","headline":"programski jezik"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10