Sunteți pe pagina 1din 52

<!

DOCTYPE html>
<html itemscope="" itemtype="http://schema.org/QAPage"
class="html__responsive"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title>c - K and R exercise 1-22 - Stack Overflow</title>


<link rel="shortcut icon"
href="https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico?v=4f32ecc8f43d">
<link rel="apple-touch-icon"
href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?
v=c78bd457575a">
<link rel="image_src"
href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?
v=c78bd457575a">
<link rel="search" type="application/opensearchdescription+xml"
title="Stack Overflow" href="https://stackoverflow.com/opensearch.xml">
<link rel="canonical" href="https://stackoverflow.com/questions/14797734/k-
and-r-exercise-1-22">
<meta name="viewport" content="width=device-width, height=device-height,
initial-scale=1.0, minimum-scale=1.0">

<meta property="og:type" content="website">


<meta property="og:url"
content="https://stackoverflow.com/questions/14797734/k-and-r-exercise-1-22">
<meta property="og:site_name" content="Stack Overflow">
<meta property="og:image" itemprop="image primaryImageOfPage"
content="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?
v=73d79a89bded">
<meta name="twitter:card" content="summary">
<meta name="twitter:domain" content="stackoverflow.com">
<meta name="twitter:title" property="og:title" itemprop="name" content="K
and R exercise 1-22">
<meta name="twitter:description" property="og:description"
itemprop="description" content="I am doing programs in The C Programming Language
by Kernighan and Ritchie.

I am currently at exercise 1-22 that says:


Write a program to &quot;fold&quot; long input lines into two or more shorter
lines ...">

<script async="" src="c%20-%20K%20and%20R%20exercise%201-22%20-%20Stack


%20Overflow_files/quant.js"></script><script async="" src="c%20-%20K%20and%20R
%20exercise%201-22%20-%20Stack%20Overflow_files/beacon.js"></script><script
async="" src="c%20-%20K%20and%20R%20exercise%201-22%20-%20Stack
%20Overflow_files/analytics.js"></script><script src="c%20-%20K%20and%20R
%20exercise%201-22%20-%20Stack%20Overflow_files/jquery.js"></script>
<script src="c%20-%20K%20and%20R%20exercise%201-22%20-%20Stack
%20Overflow_files/stub.js"></script>

<link rel="stylesheet" type="text/css" href="c%20-%20K%20and%20R%20exercise


%201-22%20-%20Stack%20Overflow_files/stacks.css">
<link rel="stylesheet" type="text/css" href="c%20-%20K%20and%20R%20exercise
%201-22%20-%20Stack%20Overflow_files/primary.css">

<link rel="alternate" type="application/atom+xml" title="Feed for


question 'K and R exercise 1-22'"
href="https://stackoverflow.com/feeds/question/14797734">
<meta name="twitter:app:country" content="US">
<meta name="twitter:app:name:iphone" content="Stack Exchange iOS">
<meta name="twitter:app:id:iphone" content="871299723">
<meta name="twitter:app:url:iphone" content="se-
zaphod://stackoverflow.com/questions/14797734/k-and-r-exercise-1-22">
<meta name="twitter:app:name:ipad" content="Stack Exchange iOS">
<meta name="twitter:app:id:ipad" content="871299723">
<meta name="twitter:app:url:ipad" content="se-
zaphod://stackoverflow.com/questions/14797734/k-and-r-exercise-1-22">
<meta name="twitter:app:name:googleplay" content="Stack Exchange
Android">
<meta name="twitter:app:url:googleplay"
content="http://stackoverflow.com/questions/14797734/k-and-r-exercise-1-22">
<meta name="twitter:app:id:googleplay"
content="com.stackexchange.marvin">
<script>
StackExchange.ready(function () {

StackExchange.using("snippets", function () {
StackExchange.snippets.initSnippetRenderer();
});

StackExchange.using("postValidation", function () {
StackExchange.postValidation.initOnBlurAndSubmit($('#post-
form'), 2, 'answer');
});

StackExchange.question.init({showAnswerHelp:true,totalCommentCount:8,shownCommentCo
unt:5,highlightColor:'#F4A83D',backgroundColor:'#FFF',questionId:14797734});

styleCode();

StackExchange.realtime.subscribeToQuestion('1', '14797734');
StackExchange.using("gps",
function () { StackExchange.gps.trackOutboundClicks('#content', '.post-text'); });

});
</script>

<script>

StackExchange.init({"locale":"en","serverTime":1582968329,"routeName":"Questions/Sh
ow","stackAuthUrl":"https://stackauth.com","networkMetaHostname":"meta.stackexchang
e.com","site":{"name":"Stack Overflow","description":"Q&A for professional and
enthusiast
programmers","isNoticesTabEnabled":true,"enableNewTagCreationWarning":true,"insertS
paceAfterNameTabCompletion":false,"id":1,"childUrl":"https://meta.stackoverflow.com
","negativeVoteScoreFloor":null,"enableSocialMediaInSharePopup":true,"protocol":"ht
tps"},"user":
{"fkey":"22ec296ea93dba40e0c5988b5069eb2e857847e7da7b65a608ee4d31a19ec8ee","tid":"b
c601215-1a32-4ab0-b993-
277f263b9d1e","rep":0,"isAnonymous":true,"isAnonymousNetworkWide":true},"events":
{"postType":{"question":1},"postEditionSection":
{"title":1,"body":2,"tags":3}},"story":
{"minCompleteBodyLength":75,"likedTagsMaxLength":300,"dislikedTagsMaxLength":300},"
jobPreferences":
{"maxNumDeveloperRoles":2,"maxNumIndustries":4},"svgIconPath":"https://cdn.sstatic.
net/Img/svg-icons","svgIconHash":"c0e183a9e569"}, {"userProfile":
{"openGraphAPIKey":"4a307e43-b625-49bb-af15-ffadf2bda017"},"userMessaging":
{"showNewFeatureNotice":true},"tags":{},"snippets":
{"renderDomain":"stacksnippets.net","snippetsEnabled":true},"slack":
{"sidebarAdDismissCookie":"slack-sidebar-ad"},"site":
{"allowImageUploads":true,"enableImgurHttps":true,"enableUserHovercards":true,"forc
eHttpsImages":true,"styleCode":true},"paths":{},"monitoring":
{"clientTimingsAbsoluteTimeout":30000,"clientTimingsDebounceTimeout":1000},"mention
s":{"maxNumUsersInDropdown":50},"markdown":
{"asteriskIntraWordEmphasis":true},"flags":
{"allowRetractingCommentFlags":true,"allowRetractingFlags":true},"comments":
{},"accounts":{"currentPasswordRequiredForChangingStackIdPassword":true}});
StackExchange.using.setCacheBreakers({"js/prettify-
full.en.js":"2bf8cfdd9e70","js/moderator.en.js":"d04b4a3a2447","js/full-
anon.en.js":"7307fe182b29","js/full.en.js":"88944aa3c051","js/wmd.en.js":"7f0dc1587
5d5","js/mobile.en.js":"a168d277c579","js/help.en.js":"800913226569","js/tageditor.
en.js":"d20e12051097","js/tageditornew.en.js":"b1db331ba08d","js/inline-tag-
editing.en.js":"d0ab5dd037da","js/revisions.en.js":"b4bb45bdbce7","js/review.en.js"
:"3fa6b49147c2","js/tagsuggestions.en.js":"9b2c5d9791d2","js/post-
validation.en.js":"79fc7755c49f","js/explore-
qlist.en.js":"222b04ca33bc","js/events.en.js":"a8f70f7db437","js/keyboard-
shortcuts.en.js":"9e39dd69c073","js/adops.en.js":"6b9883f0531e","js/begin-edit-
event.en.js":"8f05bb4ed432","js/ask.en.js":"e4dd8c66240e","js/question-
editor.en.js":"","js/snippet-javascript-codemirror.en.js":"3b464d9f6074"});
StackExchange.using("gps", function() {
StackExchange.gps.init(true);
});
</script>
<noscript id="noscript-css"><style>body,.top-bar{margin-
top:1.9em}</style></noscript>
<script async="" src="c%20-%20K%20and%20R%20exercise%201-22%20-%20Stack
%20Overflow_files/full-anon.js"></script><script async="" src="c%20-%20K%20and%20R
%20exercise%201-22%20-%20Stack%20Overflow_files/post-
validation.js"></script><script async="" src="c%20-%20K%20and%20R%20exercise%201-
22%20-%20Stack%20Overflow_files/prettify-full.js"></script><link rel="stylesheet"
href="c%20-%20K%20and%20R%20exercise%201-22%20-%20Stack%20Overflow_files/clc.css"
type="text/css"></head>
<body class="question-page unified-theme">
<div id="notify-container"></div>
<div id="custom-header"></div>

<header class="top-bar js-top-bar top-bar__network _fixed">


<div class="wmx12 mx-auto grid ai-center h100" role="menubar">
<div class="-main grid--cell">
<a href="#" class="left-sidebar-toggle p0 ai-center jc-center js-
left-sidebar-toggle" role="menuitem" aria-haspopup="true" aria-controls="left-
sidebar" aria-expanded="false"><span class="ps-relative"></span></a>
<div class="topbar-dialog leftnav-dialog js-leftnav-dialog dno">
<div class="left-sidebar js-unpinned-left-sidebar" data-can-
be="left-sidebar" data-is-here-when="sm"></div>
</div>
<a href="https://stackoverflow.com/" class="-logo
js-gps-track" data-gps-track="top_nav.click({is_current:false, location:2,
destination:8})">
<span class="-img _glyph">Stack Overflow</span>
</a>

</div>

<ol class="list-reset grid gs4" role="presentation">


<li class="grid--cell">
<a href="#" class="-marketing-link js-gps-track js-products-
menu" aria-controls="products-popover" data-controller="s-popover" data-action="s-
popover#toggle" data-s-popover-placement="bottom" data-gps-
track="top_nav.products.click({location:2, destination:1})" data-ga="[&quot;top
navigation&quot;,&quot;products menu click&quot;,null,null,null]">
Products
</a>
</li>

<li class="grid--cell md:d-none">


<a href="https://stackoverflow.com/teams/customers"
class="-marketing-link js-gps-track" data-gps-
track="top_nav.products.click({location:2, destination:7})" data-ga="[&quot;top
navigation&quot;,&quot;customers menu click&quot;,null,null,null]">Customers</a>
</li>
<li class="grid--cell md:d-none">
<a href="https://stackoverflow.com/teams/use-cases"
class="-marketing-link js-gps-track" data-gps-
track="top_nav.products.click({location:2, destination:8})" data-ga="[&quot;top
navigation&quot;,&quot;use cases menu click&quot;,null,null,null]">Use cases</a>
</li>
</ol>
<div class="s-popover ws2 p6" id="products-popover" role="menu" aria-
hidden="true">
<div class="s-popover--arrow"></div>
<ol class="list-reset s-anchors s-anchors__inherit">
<li>
<a href="https://stackoverflow.com/questions" class="d-
block py6 px6 bar-sm h:bg-orange-500 h:fc-white js-gps-track" data-gps-
track="top_nav.products.click({location:2, destination:2})" data-ga="[&quot;top
navigation&quot;,&quot;public qa submenu click&quot;,null,null,null]">
<span class="fs-body1 d-block">Stack Overflow</span>
<span class="fs-caption d-block o70">Public questions
and answers</span>
</a>
</li>
<li>
<a href="https://stackoverflow.com/teams" class="d-block
py6 px6 bar-sm h:bg-orange-500 h:fc-white js-gps-track" data-gps-
track="top_nav.products.click({location:2, destination:3})" data-ga="[&quot;top
navigation&quot;,&quot;teams submenu click&quot;,null,null,null]">
<span class="fs-body1 d-block">Teams</span>
<span class="fs-caption d-block o70">Private questions
and answers for your team</span>
</a>
</li>
<li>
<a href="https://stackoverflow.com/enterprise" class="d-
block py6 px6 bar-sm h:bg-orange-500 h:fc-white js-gps-track" data-gps-
track="top_nav.products.click({location:2, destination:4})" data-ga="[&quot;top
navigation&quot;,&quot;enterprise submenu click&quot;,null,null,null]">
<span class="fs-body1 d-block">Enterprise</span>
<span class="fs-caption d-block o70">Private self-
hosted questions and answers for your enterprise</span>
</a>
</li>
<li class="bt bc-black-3 mln6 mrn6 mt6 pt6 px6">
<a href="https://stackoverflow.com/talent" class="d-block
py6 px6 bar-sm h:bg-orange-500 h:fc-white js-gps-track" data-gps-
track="top_nav.products.click({location:2, destination:5})" data-ga="[&quot;top
navigation&quot;,&quot;talent submenu click&quot;,null,null,null]">
<span class="fs-body1 d-block">Talent</span>
<span class="fs-caption d-block o70">Hire technical
talent</span>
</a>
</li>
<li>
<a href="https://stackoverflow.com/advertising" class="d-
block py6 px6 bar-sm h:bg-orange-500 h:fc-white js-gps-track" data-gps-
track="top_nav.products.click({location:2, destination:6})" data-ga="[&quot;top
navigation&quot;,&quot;advertising submenu click&quot;,null,null,null]">
<span class="fs-body1 d-block">Advertising</span>
<span class="fs-caption d-block o70">Reach developers
worldwide</span>
</a>
</li>

</ol>
</div>

<form id="search" role="search" action="/search" method="get"


class="grid--cell fl-grow1 searchbar px12 js-searchbar " autocomplete="off">
<div class="ps-relative">
<input name="q" type="text" placeholder="Search…"
autocomplete="off" maxlength="240" class="s-input s-input__search js-search-field "
aria-label="Search" aria-controls="top-search" data-controller="s-popover" data-
action="focus-&gt;s-popover#show" data-s-popover-placement="bottom-start">
<svg aria-hidden="true" class="svg-icon s-input-icon s-
input-icon__search iconSearch" width="18" height="18" viewBox="0 0 18 18"><path
d="M18 16.5l-5.14-5.18h-.35a7 7 0 1 0-1.19 1.19v.35L16.5 18l1.5-1.5zM12 7A5 5 0 1 1
2 7a5 5 0 0 1 10 0z"></path></svg>
<div class="s-popover p0 wmx100 wmn4 sm:wmn-initial js-top-search-popover s-
popover--arrow__tl" id="top-search" role="menu">
<div class="js-spinner p24 grid ai-center jc-center d-none">
<div class="s-spinner s-spinner__sm fc-orange-400">
<div class="v-visible-sr">Loading…</div>
</div>
</div>

<span class="v-visible-sr js-screen-reader-info"></span>


<div class="js-ac-results overflow-y-auto hmx3 d-none"></div>
<div class="js-search-hints" aria-describedby="Tips for searching"></div>
</div>
</div>
</form>

<ol class="overflow-x-auto ml-auto -secondary grid ai-center list-reset h100 user-


logged-out" role="presentation">
<li class="-item searchbar-trigger"><a href="#" class="-link js-searchbar-
trigger" role="button" aria-label="Search" aria-haspopup="true" aria-
controls="search" title="Click to show search"><svg aria-hidden="true" class="svg-
icon iconSearch" width="18" height="18" viewBox="0 0 18 18"><path d="M18 16.5l-
5.14-5.18h-.35a7 7 0 1 0-1.19 1.19v.35L16.5 18l1.5-1.5zM12 7A5 5 0 1 1 2 7a5 5 0 0
1 10 0z"></path></svg></a></li>

<li class="-ctas">
<a href="https://stackoverflow.com/users/login?
ssrc=head&amp;returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f14797734%2fk-
and-r-exercise-1-22" class="login-link s-btn s-btn__filled py8 js-gps-track"
rel="nofollow" data-gps-track="login.click" data-ga="[&quot;top
navigation&quot;,&quot;login button click&quot;,null,null,null]">Log in</a>
<a href="https://stackoverflow.com/users/signup?
ssrc=head&amp;returnurl=%2fusers%2fstory%2fcurrent" class="login-link s-btn s-
btn__primary py8" rel="nofollow" data-ga="[&quot;sign up&quot;,&quot;Sign Up
Navigation&quot;,&quot;Header&quot;,null,null]">Sign up</a>

</li>

<li class="js-topbar-dialog-corral" role="presentation">

<div class="topbar-dialog siteSwitcher-dialog dno" role="menu">


<div class="header">
<h3>
<a href="https://stackoverflow.com/">current community</a>
</h3>
</div>
<div class="modal-content bg-powder-050">
<ul class="current-site">
<li class="grid">
<div class="fl1">
<a href="https://stackoverflow.com/" class="current-site-link site-link
js-gps-track grid gs8 gsx" data-id="1" data-gps-
track="site_switcher.click({ item_type:3 })">
<div class="favicon favicon-stackoverflow site-icon grid--cell"
title="Stack Overflow"></div>
<span class="grid--cell fl1">
Stack Overflow
</span>
</a>

</div>
<div class="related-links">
<a href="https://stackoverflow.com/help" class="js-gps-track" data-gps-
track="site_switcher.click({ item_type:14 })">help</a>
<a href="https://chat.stackoverflow.com/" class="js-gps-track"
data-gps-track="site_switcher.click({ item_type:6 })">chat</a>
</div>

</li>
<li class="related-site grid">
<div class="L-shaped-icon-container">
<span class="L-shaped-icon"></span>
</div>

<a href="https://meta.stackoverflow.com/" class="site-


link js-gps-track grid gs8 gsx" data-id="552" data-gps-
track="site.switch({ target_site:552,
item_type:3 }),site_switcher.click({ item_type:4 })">
<div class="favicon favicon-stackoverflowmeta site-icon grid--cell"
title="Meta Stack Overflow"></div>
<span class="grid--cell fl1">
Meta Stack Overflow
</span>
</a>

</li>
</ul>
</div>

<div class="header" id="your-communities-header">


<h3>
your communities </h3>

</div>
<div class="modal-content" id="your-communities-section">

<div class="call-to-login">
<a href="https://stackoverflow.com/users/signup?ssrc=site_switcher&amp;returnurl=
%2fusers%2fstory%2fcurrent" class="login-link js-gps-track" data-gps-
track="site_switcher.click({ item_type:10 })">Sign up</a> or <a
href="https://stackoverflow.com/users/login?ssrc=site_switcher&amp;returnurl=https
%3a%2f%2fstackoverflow.com%2fquestions%2f14797734%2fk-and-r-exercise-1-22"
class="login-link js-gps-track" data-gps-
track="site_switcher.click({ item_type:11 })">log in</a> to customize your list.
</div>
</div>

<div class="header">
<h3><a href="https://stackexchange.com/sites">more stack exchange
communities</a>
</h3>
<a href="https://stackoverflow.blog/" class="fr">company blog</a>
</div>
<div class="modal-content">
<div class="child-content"></div>
</div>
</div>
</li>
</ol>

</div>
</header>
<div id="js-gdpr-consent-banner" class="p8 ff-sans ps-fixed b0 l0 r0 z-banner"
role="banner" aria-hidden="false" style="background-color: #3b4045; color: white;">
<div class="wmx8 mx-auto grid grid__center" role="alertdialog" aria-
describedby="notice-message">
<div class="grid--cell mr12" aria-label="notice-message">
<p class="mb0 lh-lg">
By using our site, you acknowledge that you have read and
understand our <a class="s-link s-link__inherit td-underline fc-white"
target="_blank" href="https://stackoverflow.com/legal/cookie-policy">Cookie
Policy</a>, <a class="s-link s-link__inherit td-underline fc-white" target="_blank"
href="https://stackoverflow.com/legal/privacy-policy">Privacy Policy</a>, and our
<a class="s-link s-link__inherit td-underline fc-white" target="_blank"
href="https://stackoverflow.com/legal/terms-of-service/public">Terms of
Service</a>.
</p>
</div>
<div class="grid--cell">
<a class="s-btn s-btn__muted s-btn__icon js-notice-close" aria-
label="notice-dismiss">
<svg aria-hidden="true" class="svg-icon iconClear" width="18"
height="18" viewBox="0 0 18 18"><path d="M15 4.41L13.59 3 9 7.59 4.41 3 3 4.41 7.59
9 3 13.59 4.41 15 9 10.41 13.59 15 15 13.59 10.41 9 15 4.41z"></path></svg>
</a>
</div>
</div>
</div>

<script>
StackExchange.ready(function () { StackExchange.topbar.init(); });
StackExchange.scrollPadding.setPaddingTop(50, 10); </script>

<div class="container">

<div id="left-sidebar" data-is-here-when="md lg" class="left-sidebar js-pinned-


left-sidebar ps-relative">
<div class="left-sidebar--sticky-container js-sticky-leftnav">
<nav role="navigation">
<ol class="nav-links">
<li>
<a href="https://stackoverflow.com/" class="pl8 js-gps-track nav-links--
link" data-gps-track="top_nav.click({is_current:false, location:2,
destination:8})">
Home </a>
</li>
<li>
<ol class="nav-links">
<li class="fs-fine tt-uppercase ml8 mt16 mb4 fc-
light">Public</li>
<li class=" youarehere">
<a id="nav-questions" href="https://stackoverflow.com/questions" class="pl8
js-gps-track nav-links--link -link__with-icon" data-gps-
track="top_nav.click({is_current:true, location:2, destination:1})">
<svg aria-hidden="true" class="svg-icon iconGlobe" width="18" height="18"
viewBox="0 0 18 18"><path d="M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zM8 15.32a6.4 6.4 0 0
1-5.23-7.75L7 11.68v.8c0 .88.12 1.32 1 1.32v1.52zm5.72-2c-.2-.66-1-1.32-1.72-1.32h-
1v-2c0-.44-.56-1-1-1H6V7h1c.44 0 1-.56 1-1V5h2c.88 0 1.4-.72 1.4-1.6v-.33a6.4 6.4 0
0 1 2.32 10.24v.01z"></path></svg> <span class="-link--channel-
name">Stack Overflow</span>
</a>
</li>

<li>
<a id="nav-tags" href="https://stackoverflow.com/tags" class=" js-gps-track
nav-links--link" data-gps-track="top_nav.click({is_current:false, location:2,
destination:2})">
Tags </a>
</li>
<li>
<a id="nav-users" href="https://stackoverflow.com/users" class=" js-gps-
track nav-links--link" data-gps-track="top_nav.click({is_current:false, location:2,
destination:3})">
Users </a>
</li>
<li>
<a id="nav-jobs" href="https://stackoverflow.com/jobs?
so_medium=StackOverflow&amp;so_source=SiteNav" class=" js-gps-track nav-links--
link" data-gps-track="top_nav.click({is_current:false, location:2,
destination:6})">
Jobs </a>
</li>
</ol>
</li>
<li>
<ol class="nav-links">
<li class="grid ai-center jc-space-between ml8 mt24
mb4">
<div class="grid--cell tt-uppercase fs-fine fc-
light">Teams</div>
<div class="grid--cell fs-fine fc-light mr4">
<a href="javascript:void(0)" class="s-link
s-link__inherit js-gps-track" role="button" aria-controls="popover-teams-create-
cta" data-controller="s-popover" data-action="s-popover#toggle" data-s-popover-
placement="bottom-start" data-s-popover-toggle-class="is-selected" data-gps-
track="teams.create.left-sidenav.click({ Action: ShowInfo })" data-ga="[&quot;teams
left navigation - anonymous&quot;,&quot;left nav show teams
info&quot;,null,null,null]">
What’s this?
</a>

</div>
</li>
<li class="ps-relative">
<a href="https://stackoverflow.com/teams"
class="pl8 js-gps-track nav-links--link" title="Stack Overflow for Teams is a
private, secure spot for your organization's questions and answers." data-gps-
track="teams.create.left-sidenav.click({ Action: TeamsClick })" data-
ga="[&quot;teams left navigation - anonymous&quot;,&quot;left nav team
click&quot;,&quot;stackoverflow.com/teams&quot;,null,null]">
<div class="grid ai-center">
<div class="grid--cell s-avatar va-
middle bg-orange-400">
<div class="s-avatar--letter mtn1">
<svg aria-hidden="true"
class="svg-icon iconBriefcaseSm" width="14" height="14" viewBox="0 0 14 14"><path
d="M4 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1h.5c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5
1.5h-7A1.5 1.5 0 0 1 2 10.5v-5C2 4.67 2.67 4 3.5 4H4V3zm5 1V3H5v1h4z"></path></svg>
</div>
<svg aria-hidden="true" class="svg-
icon native s-avatar--badge iconShieldXSm" width="9" height="10" viewBox="0 0 9
10"><path d="M0 1.84L4.5 0 9 1.84v3.17C9 7.53 6.3 10 4.5 10 2.7 10 0 7.53 0
5.01V1.84z" fill="#fff"></path><path d="M1 2.5L4.5 1 8 2.5v2.51C8 7.34 5.34 9 4.5 9
3.65 9 1 7.34 1 5.01V2.5zm2.98 3.02L3.2 7h2.6l-.78-1.48a.4.4 0 0 1 .
15-.38c.34-.24.73-.7.73-1.14 0-.71-.5-1.23-1.41-1.23-.92 0-1.39.52-1.39 1.23 0 .
44.4.9.73 1.14.12.08.18.23.15.38z" fill="#6A7E7C"></path></svg>
</div>
<div class="grid--cell pl6">
Free 30 Day Trial </div>
</div>
</a>
</li>
</ol>
</li>
</ol>
</nav>
</div>

<div class="s-popover w-auto p16" id="popover-teams-create-cta" role="menu"


aria-hidden="true">
<div class="s-popover--arrow"></div>

<div class="ps-relative overflow-hidden">


<p class="mb2"><strong>Teams</strong></p>
<p class="mb16 fs-caption fc-medium">Q&amp;A for Work</p>
<p class="mb8 fs-caption fc-medium">

Stack Overflow for Teams is a private, secure spot for


you and
your coworkers to find and share information.

</p>
<a href="https://stackoverflow.com/teams" class="js-gps-track ws-
nowrap d-block" data-gps-track="teams.create.left-sidenav.click({ Action:
CtaClick })" data-ga="[&quot;teams left navigation - anonymous&quot;,&quot;left nav
cta&quot;,&quot;stackoverflow.com/teams&quot;,null,null]">
Learn more
</a>
</div>

<div class="ps-absolute t8 r8">


<svg width="53" height="49" fill="none"
xmlns="http://www.w3.org/2000/svg"><path d="M49 11l.2 31H18.9L9 49v-7H4V8h31"
fill="#CCEAFF"></path><path d="M44.5 19v-.3l-.2-.1-18-13-.1-.1H.5v33h4V46l.8-.6
9.9-6.9h29.3V19z" stroke="#1060E1" stroke-miterlimit="10"></path><path d="M31 2l6-
1.5 7 2V38H14.9L5 45v-7H1V6h25l5-4z" fill="#fff"></path><path d="M7 16.5h13m-13
6h14m-14 6h18" stroke="#1060E1" stroke-miterlimit="10"></path><path d="M39 30a14 14
0 1 0 0-28 14 14 0 0 0 0 28z" fill="#FFB935"></path><path d="M50.5 14a13.5 13.5 0 1
1-27 0 13.5 13.5 0 0 1 27 0z" stroke="#F48024" stroke-miterlimit="10"></path><path
d="M32.5 21.5v-8h9v8h-9zm2-9.5V9.3A2.5 2.5 0 0 1 37 6.8a2.5 2.5 0 0 1 2.5 2.5V12h-
5zm2 3v2m1-2v2" stroke="#fff" stroke-miterlimit="10"></path></svg>
</div>
</div>

</div>

<div id="content" class="snippet-hidden">

<div itemprop="mainEntity" itemscope="" itemtype="http://schema.org/Question">


<link itemprop="image"
href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?
v=c78bd457575a">

<div class="inner-content clearfix">

<div id="question-header" class="grid sm:fd-column">


<h1 itemprop="name" class="grid--cell fs-headline1 fl1 ow-
break-word mb8"><a href="https://stackoverflow.com/questions/14797734/k-and-r-
exercise-1-22" class="question-hyperlink">K and R exercise 1-22</a></h1>

<div class="ml12 aside-cta grid--cell print:d-none sm:ml0 sm:mb12


sm:order-first sm:as-end">

<a href="https://stackoverflow.com/questions/ask" class="ws-nowrap s-btn s-


btn__primary">
Ask Question
</a>

</div>
</div>
<div class="grid fw-wrap pb8 mb16 bb bc-black-2">
<div class="grid--cell ws-nowrap mr16 mb8" title="2013-02-10
12:30:05Z">
<span class="fc-light mr2">Asked</span>
<time itemprop="dateCreated" datetime="2013-02-
10T12:30:05">7 years ago</time>
</div>
<div class="grid--cell ws-nowrap mr16 mb8">
<span class="fc-light mr2">Active</span>
<a
href="https://stackoverflow.com/questions/14797734/k-and-r-exercise-1-22?
lastactivity" class="s-link s-link__inherit" title="2013-02-10 15:35:02Z">7 years
ago</a>
</div>
<div class="grid--cell ws-nowrap mb8" title="Viewed 1,365
times">
<span class="fc-light mr2">Viewed</span>
1k times
</div>
</div>
<div id="mainbar" role="main" aria-label="question and
answers">
<div class="question" data-questionid="14797734" id="question">

<style>.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-
leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}
</style>
<div id="dfp-tlb" class="everyonelovesstackoverflow everyoneloves__top-
leaderboard"></div>
<div class="post-layout">
<div class="votecell post-layout--left">

<div class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200" data-


post-id="14797734">
<button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"
title="This question shows research effort; it is useful and clear" aria-
pressed="false" aria-label="up vote" data-selected-classes="fc-theme-primary"><svg
aria-hidden="true" class="svg-icon m0 iconArrowUpLg" width="36" height="36"
viewBox="0 0 36 36"><path d="M2 26h32L18 10 2 26z"></path></svg></button>
<div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column
ai-center" itemprop="upvoteCount" data-value="10">10</div>
<button class="js-vote-down-btn grid--cell s-btn s-btn__unset c-pointer"
title="This question does not show any research effort; it is unclear or not
useful" aria-pressed="false" aria-label="down vote" data-selected-classes="fc-
theme-primary"><svg aria-hidden="true" class="svg-icon m0 iconArrowDownLg"
width="36" height="36" viewBox="0 0 36 36"><path d="M2 10h32L18 26 2
10z"></path></svg></button>

<button class="js-favorite-btn s-btn s-btn__unset c-pointer py4 js-gps-


track" aria-pressed="false" aria-label="favorite (1)" data-selected-classes="fc-
yellow-600" data-gps-track="post.click({ item: 1, priv: 0, post_type: 1 })">
<svg aria-hidden="true" class="svg-icon iconStar" width="18"
height="18" viewBox="0 0 18 18"><path d="M9 12.65l-5.29 3.63 1.82-6.15L.44
6.22l6.42-.17L9 0l2.14 6.05 6.42.17-5.1 3.9 1.83 6.16L9 12.65z"></path></svg>
<div class="js-favorite-count mt4" data-value="1">1</div>
</button>

<a class="js-post-issue grid--cell s-btn s-btn__unset c-pointer py8 mx-


auto" href="https://stackoverflow.com/posts/14797734/timeline" data-shortcut="T"
title="Timeline"><svg aria-hidden="true" class="svg-icon mln2 mr0 iconHistory"
width="19" height="18" viewBox="0 0 19 18"><path d="M3 9a8 8 0 1 1 3.73 6.77L8.2
14.3A6 6 0 1 0 5 9l3.01-.01-4 4-4-4h3L3 9zm7-4h1.01L11 9.36l3.22 2.1-.6.93L10
10V5z"></path></svg></a>

</div>

</div>

<div class="postcell post-layout--right">


<div class="post-text" itemprop="text">

<p>I am doing programs in The C Programming Language by Kernighan and Ritchie.</p>

<p>I am currently at exercise 1-22 that says:</p>

<blockquote>
<p>Write a program to "fold" long input lines into two or more shorter lines
after the <code>last &gt; non-blank character</code>
that occurs before the n-th column of input.
Make sure your program does something intelligent with very long line,
and if there are &gt; no blanks or tabs before the specified column.</p>
</blockquote>

<p>My problem is not how to do the program...


My problem is where am I supposed to fold the line.</p>

<p>What does that "after the last non-blank character" means? Where should I fold
the line?</p>

<p>Please guys DON'T tell me the program itself. I want to do it on my own.</p>

<p>I just want to know the point where I am supposed to fold the line.</p>

<p><strong>EDIT</strong>: There is another problem...</p>

<p>What if my line contains <code>tabs</code>? In that case column length of the


line increases from the character length. Which length should be considered?</p>

<p><strong>EDIT 2</strong>:</p>

<p>Something intelligent...
To tackle the case of tabs, I have an idea...</p>

<p>There are 2 exercise before 1-22 -- 1-20 and 1-21. Which are entab
and detab... you guys must be knowing... So I will first detab the line
then fold it and then entab the folded lines... I think that's gonna be
the most intelligent in case of tabs. Any one?</p>
</div>

<div class="post-taglist grid gs4 gsy fd-column">


<div class="grid ps-relative d-block">
<a href="https://stackoverflow.com/questions/tagged/c" class="post-
tag js-gps-track" title="show questions tagged 'c'" rel="tag">c</a>
</div>
</div>

<div class="mb0 ">


<div class="mt16 grid gs8 gsy fw-wrap jc-end ai-start pt4">
<div class="grid--cell mr16" style="flex: 1 1 100px;">
<div class="post-menu"><a
href="https://stackoverflow.com/q/14797734" rel="nofollow" itemprop="url"
class="js-share-link js-gps-track" title="short permalink to this question" data-
gps-track="post.click({ item: 2, priv: 0, post_type: 1 })" data-controller="se-
share-sheet s-popover" data-se-share-sheet-title="Share a link to this question"
data-se-share-sheet-subtitle="" data-se-share-sheet-post-type="question" data-se-
share-sheet-social="facebook twitter devto" data-se-share-sheet-location="1" data-
s-popover-placement="bottom-start" aria-controls="se-share-sheet-0" data-action="
s-popover#toggle se-share-sheet#preventNavigation s-popover:show-&gt;se-share-
sheet#willShow s-popover:shown-&gt;se-share-sheet#didShow">share</a><div class="s-
popover z-dropdown" style="width: unset; max-width: 28em;" id="se-share-sheet-
0"><div class="s-popover--arrow"></div><div><span class="js-title fw-bold">Share a
link to this question</span> <span class="js-subtitle"></span></div><div
class="my8"><input type="text" class="js-input s-input wmn3 sm:wmn-initial"
readonly="readonly" value="https://stackoverflow.com/q/14797734"></div><div
class="d-flex jc-space-between mbn4"><button class="js-copy-link-btn s-btn s-
btn__link">Copy link</button><div class="js-social-
container"></div></div></div><span class="lsep">|</span><a
href="https://stackoverflow.com/posts/14797734/edit" class="suggest-edit-post js-
gps-track" data-gps-track="post.click({ item: 6, priv: 0, post_type: 1 })"
title="">improve this question</a></div>
</div>

<div class="post-signature grid--cell">


<div class="user-info ">
<div class="user-action-time">
<a href="https://stackoverflow.com/posts/14797734/revisions" title="show
all edits to this post" class="js-gps-track" data-gps-track="post.click({ item: 4,
priv: 0, post_type: 1 })">edited <span title="2013-02-10 15:35:02Z"
class="relativetime">Feb 10 '13 at 15:35</span></a>
</div>
<div class="user-gravatar32">

</div>
<div class="user-details" itemprop="author" itemscope=""
itemtype="http://schema.org/Person">
<span class="d-none" itemprop="name">Sam</span>
<div class="-flair">

</div>
</div>
</div> </div>
<div class="post-signature owner grid--cell">
<div class="user-info user-hover">
<div class="user-action-time">
asked <span title="2013-02-10 12:30:05Z" class="relativetime">Feb 10 '13 at
12:30</span>
</div>
<div class="user-gravatar32">
<a href="https://stackoverflow.com/users/1709658/sam"><div class="gravatar-
wrapper-32"><img src="c%20-%20K%20and%20R%20exercise%201-22%20-%20Stack
%20Overflow_files/c88e1926e717bde5c2e8f0c4c5ec662b.png" alt="" class="bar-sm"
width="32" height="32"></div></a>
</div>
<div class="user-details" itemprop="author" itemscope=""
itemtype="http://schema.org/Person">
<a href="https://stackoverflow.com/users/1709658/sam">Sam</a><span
class="d-none" itemprop="name">Sam</span>
<div class="-flair">
<span class="reputation-score" title="reputation score "
dir="ltr">1,652</span><span title="3 gold badges" aria-hidden="true"><span
class="badge1"></span><span class="badgecount">3</span></span><span class="v-
visible-sr">3 gold badges</span><span title="17 silver badges" aria-
hidden="true"><span class="badge2"></span><span
class="badgecount">17</span></span><span class="v-visible-sr">17 silver
badges</span><span title="32 bronze badges" aria-hidden="true"><span
class="badge3"></span><span class="badgecount">32</span></span><span class="v-
visible-sr">32 bronze badges</span>
</div>
</div>
</div>

</div>
</div>
</div>

</div>

<div class="post-layout--right">
<div id="comments-14797734" class="comments js-comments-container bt bc-
black-2 mt12 " data-post-id="14797734" data-min-length="15">
<ul class="comments-list js-comments-list" data-remaining-comments-
count="3" data-canpost="false" data-cansee="true" data-comments-unavailable="false"
data-addlink-disabled="true">

<li id="comment-20723231" class="comment js-comment " data-comment-


id="20723231">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
<span title="number of 'useful comment' votes received"
class="warm">5</span>
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">"Please guys DON'T tell me the program


itself. I want to do it on my own." - That itself is worth an upvote.</span>

–&nbsp;<span class="comment-user">user529758</span>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20723231_14797734"><span title="2013-02-10 12:31:26Z"
class="relativetime-clean">Feb 10 '13 at 12:31</span></a></span>
</div>
</div>
</li>
<li id="comment-20723249" class="comment js-comment " data-comment-
id="20723249">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">Blank characters are all forms of


spaces. It is basically asking you to not split words in two.</span>

–&nbsp;<a href="https://stackoverflow.com/users/635608/mat"
title="176,616 reputation" class="comment-user">Mat</a>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20723249_14797734"><span title="2013-02-10 12:32:26Z"
class="relativetime-clean">Feb 10 '13 at 12:32</span></a></span>
</div>
</div>
</li>
<li id="comment-20736992" class="comment js-comment " data-comment-
id="20736992">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">Try folding the line after the last non-


blank character before the 80th column</span>

–&nbsp;<a href="https://stackoverflow.com/users/1998672/ganesh"
title="5,704 reputation" class="comment-user">Ganesh</a>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20736992_14797734"><span title="2013-02-10 12:32:58Z"
class="relativetime-clean">Feb 10 '13 at 12:32</span></a></span>
</div>
</div>
</li>
<li id="comment-20723294" class="comment js-comment " data-comment-
id="20723294">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">Just that this <code>Make sure your


program does something intelligent with very long line</code> is quite ambiguous...
Is it telling the reader to break the word?</span>

–&nbsp;<a
href="https://stackoverflow.com/users/1400768/nhahtdh" title="50,409 reputation"
class="comment-user">nhahtdh</a>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20723294_14797734"><span title="2013-02-10 12:35:00Z"
class="relativetime-clean">Feb 10 '13 at 12:35</span></a></span>
</div>
</div>
</li>
<li id="comment-20724175" class="comment js-comment " data-comment-
id="20724175">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
<span title="number of 'useful comment' votes received"
class="cool">1</span>
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">Exactly: This is why I


mention in my answer below that it's up to you to decide what to do if
the exercise is a little vague. You'll be learning whatever you decide
to do, so do as much or as little as you feel confident doing.</span>
–&nbsp;<a href="https://stackoverflow.com/users/2057390/chrisc"
title="2,255 reputation" class="comment-user">ChrisC</a>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20724175_14797734"><span title="2013-02-10 13:32:06Z"
class="relativetime-clean">Feb 10 '13 at 13:32</span></a></span>
</div>
</div>
</li>
</ul>
</div>

<div id="comments-link-14797734" data-rep="50" data-anon="true">

<a class="js-add-link comments-link dno" title="Use comments to


ask for more information or suggest improvements. Avoid answering questions in
comments." href="#" role="button"></a>
<span class="js-link-separator dno">&nbsp;|&nbsp;</span>
<a class="js-show-link comments-link " title="expand to show all
comments on this post" href="#" onclick="" role="button">show <b>3</b> more
comments</a>
</div>
</div> </div>
</div>

<div id="dfp-isb" class="everyonelovesstackoverflow everyoneloves__inline-


sidebar"></div>
<div id="answers">

<a name="tab-top"></a>
<div id="answers-header">
<div class="subheader answers-subheader">
<h2 data-answercount="2">
2 Answers
<span style="display:none;"
itemprop="answerCount">2</span>
</h2>
<div>

<div id="tabs">
<a href="https://stackoverflow.com/questions/14797734/k-and-r-exercise-1-
22?answertab=active#tab-top" data-nav-xhref="" title="Answers with the latest
activity first" data-value="active" data-shortcut="A">
active</a>
<a href="https://stackoverflow.com/questions/14797734/k-and-r-exercise-1-
22?answertab=oldest#tab-top" data-nav-xhref="" title="Answers in the order they
were provided" data-value="oldest" data-shortcut="O">
oldest</a>
<a class="youarehere is-selected "
href="https://stackoverflow.com/questions/14797734/k-and-r-exercise-1-22?
answertab=votes#tab-top" data-nav-xhref="" title="Answers with the highest score
first" data-value="votes" data-shortcut="V">
votes</a>
</div>

</div>
</div>
</div>
<a name="14797761"></a>
<div id="answer-14797761" class="answer accepted-answer" data-answerid="14797761"
itemprop="acceptedAnswer" itemscope="" itemtype="http://schema.org/Answer">
<div class="post-layout">
<div class="votecell post-layout--left">

<div class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200" data-


post-id="14797761">
<button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"
title="This answer is useful" aria-pressed="false" aria-label="up vote" data-
selected-classes="fc-theme-primary"><svg aria-hidden="true" class="svg-icon m0
iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2
26z"></path></svg></button>
<div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column
ai-center" itemprop="upvoteCount" data-value="8">8</div>
<button class="js-vote-down-btn grid--cell s-btn s-btn__unset c-pointer"
title="This answer is not useful" aria-pressed="false" aria-label="down vote" data-
selected-classes="fc-theme-primary"><svg aria-hidden="true" class="svg-icon m0
iconArrowDownLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 10h32L18 26
2 10z"></path></svg></button>

<div class="js-accepted-answer-indicator grid--cell fc-green-500 ta-


center py4" title="The question owner accepted this as the best answer Feb 13 '13
at 16:38." tabindex="0" role="note" aria-label="accepted">
<svg aria-hidden="true" class="svg-icon iconCheckmarkLg" width="36"
height="36" viewBox="0 0 36 36"><path d="M6 14l8 8L30 6v8L14 30l-8-8v-
8z"></path></svg>
</div>

<a class="js-post-issue grid--cell s-btn s-btn__unset c-pointer py8 mx-


auto" href="https://stackoverflow.com/posts/14797761/timeline" data-shortcut="T"
title="Timeline"><svg aria-hidden="true" class="svg-icon mln2 mr0 iconHistory"
width="19" height="18" viewBox="0 0 19 18"><path d="M3 9a8 8 0 1 1 3.73 6.77L8.2
14.3A6 6 0 1 0 5 9l3.01-.01-4 4-4-4h3L3 9zm7-4h1.01L11 9.36l3.22 2.1-.6.93L10
10V5z"></path></svg></a>

</div>

</div>

<div class="answercell post-layout--right">

<div class="post-text" itemprop="text">


<p>I think this exercise is basically emulating a "word-wrap"
function you might see on a text editor. "Non-blank" would mean
"whitespace", e.g. a space character.</p>

<p>Example:</p>
<pre class="lang-c prettyprint prettyprinted" style=""><code><span
class="str">"Once upon a time"</span></code></pre>

<p>If you were asked to "fold" that line after the 14th column of input,
the 14th character is the "i" in "time". Your output should be two
lines: <code>"Once upon a", "time"</code>. </p>

<p>The question also says to be intelligent with very long lines.</p>

<p>For example, </p>

<pre class="lang-c prettyprint prettyprinted" style=""><code><span


class="str">"Once upon a time Once upon a time Once upon a
time"</span></code></pre>

<p>If you were splitting this line at 14 characters, you should consider
the fact that the line must be split into more than two lines.</p>

<p>There is also the case when a word could be very long, preventing you from
splitting it:</p>

<pre class="lang-c prettyprint prettyprinted" style=""><code><span


class="str">"Deoxyribonucleicacid is DNA"</span></code></pre>

<p>If you split that at 14 characters, you would not find any whitespace characters
until <code>" is"</code>, so the word should be split.</p>

<p>Finally, I'd agree that the question is slightly ambiguous, but as


long as you're writing code somewhat along the lines of what is
required, you're learning, so I wouldn't worry about getting too hung-up
on the details. Good luck :)</p>
</div>
<div class="grid mb0 fw-wrap ai-start jc-end gs8 gsy">
<time itemprop="dateCreated" datetime="2013-02-10T12:32:39"></time>
<div class="grid--cell mr16" style="flex: 1 1 100px;">
<div class="post-menu"><a href="https://stackoverflow.com/a/14797761"
rel="nofollow" itemprop="url" class="js-share-link js-gps-track" title="short
permalink to this answer" data-gps-track="post.click({ item: 2, priv: 0, post_type:
2 })" data-controller="se-share-sheet s-popover" data-se-share-sheet-title="Share a
link to this answer" data-se-share-sheet-subtitle="" data-se-share-sheet-post-
type="answer" data-se-share-sheet-social="facebook twitter devto" data-se-share-
sheet-location="2" data-s-popover-placement="bottom-start" aria-controls="se-share-
sheet-1" data-action=" s-popover#toggle se-share-sheet#preventNavigation s-
popover:show-&gt;se-share-sheet#willShow s-popover:shown-&gt;se-share-
sheet#didShow">share</a><div class="s-popover z-dropdown" style="width: unset; max-
width: 28em;" id="se-share-sheet-1"><div class="s-popover--arrow"></div><div><span
class="js-title fw-bold">Share a link to this answer</span> <span class="js-
subtitle"></span></div><div class="my8"><input type="text" class="js-input s-input
wmn3 sm:wmn-initial" readonly="readonly"
value="https://stackoverflow.com/a/14797761"></div><div class="d-flex jc-space-
between mbn4"><button class="js-copy-link-btn s-btn s-btn__link">Copy
link</button><div class="js-social-container"></div></div></div><span
class="lsep">|</span><a href="https://stackoverflow.com/posts/14797761/edit"
class="suggest-edit-post js-gps-track" data-gps-track="post.click({ item: 6, priv:
0, post_type: 2 })" title="">improve this answer</a></div>
</div>
<div class="post-signature grid--cell fl0">
<div class="user-info ">
<div class="user-action-time">
<a href="https://stackoverflow.com/posts/14797761/revisions" title="show
all edits to this post" class="js-gps-track" data-gps-track="post.click({ item: 4,
priv: 0, post_type: 2 })">edited <span title="2013-02-10 12:51:18Z"
class="relativetime">Feb 10 '13 at 12:51</span></a>
</div>
<div class="user-gravatar32">

</div>
<div class="user-details">

<div class="-flair">

</div>
</div>
</div> </div>

<div class="post-signature grid--cell fl0">


<div class="user-info ">
<div class="user-action-time">
answered <span title="2013-02-10 12:32:39Z" class="relativetime">Feb 10 '13
at 12:32</span>
</div>
<div class="user-gravatar32">
<a href="https://stackoverflow.com/users/2057390/chrisc"><div
class="gravatar-wrapper-32"><img src="c%20-%20K%20and%20R%20exercise%201-22%20-
%20Stack%20Overflow_files/cef7b3afd653fdf078326ab484982f96.png" alt="" class="bar-
sm" width="32" height="32"></div></a>
</div>
<div class="user-details" itemprop="author" itemscope=""
itemtype="http://schema.org/Person">
<a href="https://stackoverflow.com/users/2057390/chrisc">ChrisC</a><span
class="d-none" itemprop="name">ChrisC</span>
<div class="-flair">
<span class="reputation-score" title="reputation score "
dir="ltr">2,255</span><span title="1 gold badge" aria-hidden="true"><span
class="badge1"></span><span class="badgecount">1</span></span><span class="v-
visible-sr">1 gold badge</span><span title="11 silver badges" aria-
hidden="true"><span class="badge2"></span><span
class="badgecount">11</span></span><span class="v-visible-sr">11 silver
badges</span><span title="22 bronze badges" aria-hidden="true"><span
class="badge3"></span><span class="badgecount">22</span></span><span class="v-
visible-sr">22 bronze badges</span>
</div>
</div>
</div>

</div>
</div>

</div>

<div class="post-layout--right">
<div id="comments-14797761" class="comments js-comments-container bt bc-
black-2 mt12 " data-post-id="14797761" data-min-length="15">
<ul class="comments-list js-comments-list" data-remaining-comments-
count="0" data-canpost="false" data-cansee="true" data-comments-unavailable="false"
data-addlink-disabled="true">

<li id="comment-20723291" class="comment js-comment " data-comment-


id="20723291">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">That is where I am confused... Since


Non-blank means anything except ' ', '\t' and '\n'.</span>

–&nbsp;<a href="https://stackoverflow.com/users/1709658/sam"
title="1,652 reputation" class="comment-user owner">Sam</a>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20723291_14797761"><span title="2013-02-10 12:34:43Z"
class="relativetime-clean">Feb 10 '13 at 12:34</span></a></span>
</div>
</div>
</li>
<li id="comment-20723413" class="comment js-comment " data-comment-
id="20723413">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
<span title="number of 'useful comment' votes received"
class="cool">1</span>
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">Yes, so you fold at the last


character "back" from the nth column that is not blank. Meaning you work
your way back until you find a whitespace from the position you want to
break at - the break at the one just ahead of the space.</span>

–&nbsp;<a href="https://stackoverflow.com/users/1919155/mats-
petersson" title="114,361 reputation" class="comment-user">Mats Petersson</a>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20723413_14797761"><span title="2013-02-10 12:42:05Z"
class="relativetime-clean">Feb 10 '13 at 12:42</span></a></span>
</div>
</div>
</li>
<li id="comment-20826977" class="comment js-comment " data-comment-
id="20826977">
<div class="js-comment-actions comment-actions">
<div class="comment-score js-comment-edit-hide">
</div>
</div>
<div class="comment-text js-comment-text-and-form">
<div class="comment-body js-comment-edit-hide">

<span class="comment-copy">@MatsPetersson perfect! agreed!</span>


–&nbsp;<a href="https://stackoverflow.com/users/1709658/sam"
title="1,652 reputation" class="comment-user owner">Sam</a>
<span class="comment-date" dir="ltr"><a class="comment-link"
href="#comment20826977_14797761"><span title="2013-02-13 16:38:00Z"
class="relativetime-clean">Feb 13 '13 at 16:38</span></a></span>
</div>
</div>
</li>
</ul>
</div>

<div id="comments-link-14797761" data-rep="50" data-anon="true">

<a class="js-add-link comments-link disabled-link" title="Use


comments to ask for more information or suggest improvements. Avoid comments like
“+1” or “thanks”." href="#" role="button">add a comment</a>
<span class="js-link-separator dno">&nbsp;|&nbsp;</span>
<a class="js-show-link comments-link dno" title="expand to show all
comments on this post" href="#" onclick="" role="button"></a>
</div>
</div> </div>
</div>
<div id="dfp-mlb" class="everyonelovesstackoverflow everyoneloves__mid-
leaderboard"></div>

<a name="14797873"></a>
<div id="answer-14797873" class="answer" data-answerid="14797873"
itemprop="suggestedAnswer" itemscope="" itemtype="http://schema.org/Answer">
<div class="post-layout">
<div class="votecell post-layout--left">

<div class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200" data-


post-id="14797873">
<button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer"
title="This answer is useful" aria-pressed="false" aria-label="up vote" data-
selected-classes="fc-theme-primary"><svg aria-hidden="true" class="svg-icon m0
iconArrowUpLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 26h32L18 10 2
26z"></path></svg></button>
<div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column
ai-center" itemprop="upvoteCount" data-value="1">1</div>
<button class="js-vote-down-btn grid--cell s-btn s-btn__unset c-pointer"
title="This answer is not useful" aria-pressed="false" aria-label="down vote" data-
selected-classes="fc-theme-primary"><svg aria-hidden="true" class="svg-icon m0
iconArrowDownLg" width="36" height="36" viewBox="0 0 36 36"><path d="M2 10h32L18 26
2 10z"></path></svg></button>

<div class="js-accepted-answer-indicator grid--cell fc-green-500 ta-


center py4 d-none" title="loading when this answer was accepted..." tabindex="0"
role="note" aria-label="accepted">
<svg aria-hidden="true" class="svg-icon iconCheckmarkLg" width="36"
height="36" viewBox="0 0 36 36"><path d="M6 14l8 8L30 6v8L14 30l-8-8v-
8z"></path></svg>
</div>

<a class="js-post-issue grid--cell s-btn s-btn__unset c-pointer py8 mx-


auto" href="https://stackoverflow.com/posts/14797873/timeline" data-shortcut="T"
title="Timeline"><svg aria-hidden="true" class="svg-icon mln2 mr0 iconHistory"
width="19" height="18" viewBox="0 0 19 18"><path d="M3 9a8 8 0 1 1 3.73 6.77L8.2
14.3A6 6 0 1 0 5 9l3.01-.01-4 4-4-4h3L3 9zm7-4h1.01L11 9.36l3.22 2.1-.6.93L10
10V5z"></path></svg></a>

</div>

</div>

<div class="answercell post-layout--right">

<div class="post-text" itemprop="text">


<p>Consider this example: let's say <code>n = 6</code> (for the simplicity
of counting) and the line that you need to fold looks like this:</p>

<pre class="lang-c prettyprint prettyprinted" style=""><code><span


class="typ">Got</span><span class="pln"> all chars on one line</span><span
class="pun">.</span><span class="pln">
</span><span class="lit">00000000001111111111222222</span><span class="pln">
</span><span class="lit">01234567890123456789012345</span></code></pre>

<p>Go through the characters counting the current position in the line
that you are producing. When you see a whitespace, go back to find the
last non-space char <em>before</em> it, and makr its position. When your counter
reaches <code>n</code>, see where was the last non-blank character preceding a
space in the original line, and fold the line.</p>

<p>In the example above, the first space that you see is at the position
3. At this point you go back one char, mark 2 as the last non-blank
preceding the space, and go on. When the count reaches 6 (at character
<code>'l'</code>),
split the line at position 3, and reset the current position back to
zero. Continue with the algorithm to fold at 7, 13, and 20.</p>

<pre class="lang-c prettyprint prettyprinted" style=""><code><span


class="typ">Got</span><span class="pln">
all
chars
on one
line</span></code></pre>
</div>
<div class="grid mb0 fw-wrap ai-start jc-end gs8 gsy">
<time itemprop="dateCreated" datetime="2013-02-10T12:45:27"></time>
<div class="grid--cell mr16" style="flex: 1 1 100px;">
<div class="post-menu"><a href="https://stackoverflow.com/a/14797873"
rel="nofollow" itemprop="url" class="js-share-link js-gps-track" title="short
permalink to this answer" data-gps-track="post.click({ item: 2, priv: 0, post_type:
2 })" data-controller="se-share-sheet s-popover" data-se-share-sheet-title="Share a
link to this answer" data-se-share-sheet-subtitle="" data-se-share-sheet-post-
type="answer" data-se-share-sheet-social="facebook twitter devto" data-se-share-
sheet-location="2" data-s-popover-placement="bottom-start" aria-controls="se-share-
sheet-2" data-action=" s-popover#toggle se-share-sheet#preventNavigation s-
popover:show-&gt;se-share-sheet#willShow s-popover:shown-&gt;se-share-
sheet#didShow">share</a><div class="s-popover z-dropdown" style="width: unset; max-
width: 28em;" id="se-share-sheet-2"><div class="s-popover--arrow"></div><div><span
class="js-title fw-bold">Share a link to this answer</span> <span class="js-
subtitle"></span></div><div class="my8"><input type="text" class="js-input s-input
wmn3 sm:wmn-initial" readonly="readonly"
value="https://stackoverflow.com/a/14797873"></div><div class="d-flex jc-space-
between mbn4"><button class="js-copy-link-btn s-btn s-btn__link">Copy
link</button><div class="js-social-container"></div></div></div><span
class="lsep">|</span><a href="https://stackoverflow.com/posts/14797873/edit"
class="suggest-edit-post js-gps-track" data-gps-track="post.click({ item: 6, priv:
0, post_type: 2 })" title="">improve this answer</a></div>
</div>

<div class="post-signature grid--cell fl0">


<div class="user-info user-hover">
<div class="user-action-time">
answered <span title="2013-02-10 12:45:27Z" class="relativetime">Feb 10 '13
at 12:45</span>
</div>
<div class="user-gravatar32">
<a href="https://stackoverflow.com/users/335858/dasblinkenlight"><div
class="gravatar-wrapper-32"><img src="c%20-%20K%20and%20R%20exercise%201-22%20-
%20Stack%20Overflow_files/4af3541c00d591e9a518b9c0b3b1190a.jpeg" alt="" class="bar-
sm" width="32" height="32"></div></a>
</div>
<div class="user-details" itemprop="author" itemscope=""
itemtype="http://schema.org/Person">
<a
href="https://stackoverflow.com/users/335858/dasblinkenlight">dasblinkenlight</a><s
pan class="d-none" itemprop="name">dasblinkenlight</span>
<div class="-flair">
<span class="reputation-score" title="reputation score 642,937"
dir="ltr">643k</span><span title="67 gold badges" aria-hidden="true"><span
class="badge1"></span><span class="badgecount">67</span></span><span class="v-
visible-sr">67 gold badges</span><span title="886 silver badges" aria-
hidden="true"><span class="badge2"></span><span
class="badgecount">886</span></span><span class="v-visible-sr">886 silver
badges</span><span title="1294 bronze badges" aria-hidden="true"><span
class="badge3"></span><span class="badgecount">1294</span></span><span class="v-
visible-sr">1294 bronze badges</span>
</div>
</div>
</div>

</div>
</div>

</div>

<div class="post-layout--right">
<div id="comments-14797873" class="comments js-comments-container bt bc-
black-2 mt12 dno" data-post-id="14797873" data-min-length="15">
<ul class="comments-list js-comments-list" data-remaining-comments-
count="0" data-canpost="false" data-cansee="true" data-comments-unavailable="false"
data-addlink-disabled="true">

</ul>
</div>

<div id="comments-link-14797873" data-rep="50" data-anon="true">

<a class="js-add-link comments-link disabled-link" title="Use


comments to ask for more information or suggest improvements. Avoid comments like
“+1” or “thanks”." href="#" role="button">add a comment</a>
<span class="js-link-separator dno">&nbsp;|&nbsp;</span>
<a class="js-show-link comments-link dno" title="expand to show all
comments on this post" href="#" onclick="" role="button"></a>
</div>
</div> </div>
</div>

<a name="new-answer"></a>
<form id="post-form"
action="/questions/14797734/answer/submit" method="post" class="js-add-answer-
component post-form">
<input type="hidden" id="post-id" value="14797734">
<input type="hidden" id="qualityBanWarningShown"
name="qualityBanWarningShown" value="false">
<input type="hidden" name="referrer"
value="https://www.google.com/">
<h2 class="space">
Your Answer
</h2>

<script>
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
</script>

<script>
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by \u003ca class=\"icon-imgur-white\"
href=\"https://imgur.com/\"\u003e\u003c/a\u003e",
contentPolicyHtml: "User contributions licensed under \u003ca
href=\"https://creativecommons.org/licenses/by-sa/4.0/\"\u003ecc by-sa 4.0 with
attribution required\u003c/a\u003e \u003ca
href=\"https://stackoverflow.com/legal/content-policy\"\u003e(content
policy)\u003c/a\u003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});

}
});
</script>
<div id="post-editor" class="post-editor js-post-editor">

<div class="ps-relative">

<div class="wmd-container mb8">


<div id="wmd-button-bar" class="wmd-button-bar btr-sm"><ul id="wmd-
button-row" class="wmd-button-row"><li id="wmd-bold-button" class="wmd-button"
style="left: 0px;"><span style="background-position: 0px -20px;"></span></li><li
id="wmd-italic-button" class="wmd-button" style="left: 25px;"><span
style="background-position: -20px -20px;"></span></li><li id="wmd-spacer1"
class="wmd-spacer" style="left: 50px;"><span style="background-position: -40px
-20px;"></span></li><li id="wmd-link-button" class="wmd-button" style="left:
75px;"><span style="background-position: -40px -20px;"></span></li><li id="wmd-
quote-button" class="wmd-button" style="left: 100px;"><span style="background-
position: -60px -20px;"></span></li><li id="wmd-code-button" class="wmd-button"
style="left: 125px;"><span style="background-position: -80px
-20px;"></span></li><li id="wmd-image-button" class="wmd-button" style="left:
150px;"><span style="background-position: -100px -20px;"></span></li><li id="wmd-
spacer2" class="wmd-spacer" style="left: 175px;"><span style="background-position:
-120px -20px;"></span></li><li id="wmd-olist-button" class="wmd-button"
style="left: 200px;"><span style="background-position: -120px
-20px;"></span></li><li id="wmd-ulist-button" class="wmd-button" style="left:
225px;"><span style="background-position: -140px -20px;"></span></li><li id="wmd-
heading-button" class="wmd-button" style="left: 250px;"><span style="background-
position: -160px -20px;"></span></li><li id="wmd-hr-button" class="wmd-button"
style="left: 275px;"><span style="background-position: -180px
-20px;"></span></li><li id="wmd-spacer3" class="wmd-spacer" style="left:
300px;"><span style="background-position: -200px -20px;"></span></li><li id="wmd-
undo-button" class="wmd-button" style="left: 325px;"><span style="background-
position: -200px -20px;"></span></li><li id="wmd-redo-button" class="wmd-button"
style="left: 350px;"><span style="background-position: -220px
-20px;"></span></li><li class="wmd-spacer wmd-spacer-max"></li></ul></div>
<div class="js-stacks-validation">
<div class="ps-relative">
<textarea id="wmd-input" name="post-text" class="wmd-input s-
input bar0 js-post-body-field" data-post-type-id="2" cols="92" rows="15"
tabindex="101" data-min-length=""></textarea>
</div>
<div class="s-input-message mt4 d-none js-stacks-validation-
message"></div>
</div>
</div>
</div>

<aside class="grid ai-start jc-space-between js-answer-help s-notice s-


notice__warning pb0 pr4 pt4 mb8 d-none" role="status" aria-hidden="true">
<div class="grid--cell pt8">
<p>Thanks for contributing an answer to Stack Overflow!</p><ul><li>Please
be sure to <em>answer the question</em>. Provide details and share your research!
</li></ul><p>But <em>avoid</em> …</p><ul><li>Asking for help, clarification, or
responding to other answers.</li><li>Making statements based on opinion; back them
up with references or personal experience.</li></ul><p>To learn more, see our <a
href="https://stackoverflow.com/help/how-to-answer">tips on writing great
answers</a>.</p>
</div>
<button class="grid--cell js-answer-help-close-btn s-btn s-btn__muted fc-dark">
<svg aria-hidden="true" class="svg-icon iconClear" width="18" height="18"
viewBox="0 0 18 18"><path d="M15 4.41L13.59 3 9 7.59 4.41 3 3 4.41 7.59 9 3 13.59
4.41 15 9 10.41 13.59 15 15 13.59 10.41 9 15 4.41z"></path></svg>
</button>
</aside>

<div id="draft-saved" class="fc-success float-left h24"


style="display:none;">Draft saved</div>
<div id="draft-discarded" class="fc-error float-left h24"
style="display:none;">Draft discarded</div>

<div id="wmd-preview" class="wmd-preview"></div>


<div></div>
<div class="edit-block">
<input id="fkey" name="fkey" type="hidden"
value="22ec296ea93dba40e0c5988b5069eb2e857847e7da7b65a608ee4d31a19ec8ee">
<input id="author" name="author" type="text">
</div>

</div>

<div class="ps-relative">

<div class="form-item new-post-


login p0 my16">
<div class="grid gs16 md:fd-column new-login-form">
<div class="grid fd-column w50 md:w-auto gsy gs8 jc-space-
between new-login-left">
<h3 class="grid--cell fs-title">Sign up or <a id="login-
link" href="https://stackoverflow.com/users/login?
ssrc=question_page&amp;returnurl=https%3a%2f%2fstackoverflow.com%2fquestions
%2f14797734%2fk-and-r-exercise-1-22%23new-answer">log in</a></h3>
<script>
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-
link');
});
</script>
<div class="grid--cell s-btn s-btn__muted s-btn__outlined
s-btn__icon google-login" data-ga="[&quot;sign up&quot;,&quot;Sign Up Started -
Google&quot;,&quot;New Post&quot;,null,null]">
<svg aria-hidden="true" class="svg-icon native
iconGoogle" width="18" height="18" viewBox="0 0 18 18"><path d="M16.51
8H8.98v3h4.3c-.18 1-.74 1.48-1.6 2.04v2.01h2.6a7.8 7.8 0 0 0 2.38-
5.88c0-.57-.05-.66-.15-1.18z" fill="#4285F4"></path><path d="M8.98 17c2.16 0
3.97-.72 5.3-1.94l-2.6-2a4.8 4.8 0 0 1-7.18-2.54H1.83v2.07A8 8 0 0 0 8.98 17z"
fill="#34A853"></path><path d="M4.5 10.52a4.8 4.8 0 0 1 0-3.04V5.41H1.83a8 8 0 0 0
0 7.18l2.67-2.07z" fill="#FBBC05"></path><path d="M8.98 4.18c1.17 0 2.23.4 3.06
1.2l2.3-2.3A8 8 0 0 0 1.83 5.4L4.5 7.49a4.77 4.77 0 0 1 4.48-3.3z"
fill="#EA4335"></path></svg> Sign up using Google
</div>
<div class="grid--cell s-btn s-btn__muted s-btn__icon
facebook-login" data-ga="[&quot;sign up&quot;,&quot;Sign Up Started -
Facebook&quot;,&quot;New Post&quot;,null,null]">
<svg aria-hidden="true" class="svg-icon iconFacebook"
width="18" height="18" viewBox="0 0 18 18"><path d="M3 1a2 2 0 0 0-2 2v12c0 1.1.9 2
2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3zm6.55 16v-6.2H7.46V8.4h2.09V6.61c0-2.07
1.26-3.2 3.1-3.2.88 0 1.64.07 1.87.1v2.16h-1.29c-1 0-1.19.48-1.19
1.18V8.4h2.39l-.31 2.42h-2.08V17h-2.5z" fill="#4167B2"></path></svg> Sign up using
Facebook
</div>
<div class="grid--cell s-btn s-btn__muted s-btn__outlined
s-btn__icon stackexchange-login" data-ga="[&quot;sign up&quot;,&quot;Sign Up
Navigation&quot;,&quot;New Post&quot;,null,null]">
<svg aria-hidden="true" class="svg-icon native
iconLogoGlyphXSm" width="18" height="18" viewBox="0 0 18 18"><path d="M14 16v-
5h2v7H2v-7h2v5h10z" fill="#BCBBBB"></path><path d="M12.09.72l-1.21.9 4.5 6.07
1.22-.9L12.09.71zM5 15h8v-2H5v2zm9.15-5.87L8.35 4.3l.96-1.16 5.8 4.83-.96 1.16zm-
7.7-1.47l6.85 3.19.63-1.37-6.85-3.2-.63 1.38zm6.53 5L5.4 11.39l.38-1.67 7.42
1.48-.22 1.46z" fill="#F48024"></path></svg> Sign up using Email and Password
</div>
</div>
<input type="hidden" name="use-facebook" class="use-facebook"
value="false">
<input type="hidden" name="use-google" class="use-google"
value="false">
<button type="button" class="d-none js-submit-
openid">Submit</button>
<div class="grid gsy gs8 fd-column w50 md:w-auto new-login-
right form-item p0">
<h3 class="grid--cell fs-title">Post as a
guest</h3>
<div class="grid--cell">
<div class="grid gs4 gsy fd-column">
<label class="s-label" for="display-name">Name</label>
<div class="grid ps-relative">
<input class="s-input" id="display-name" name="display-
name" maxlength="30" type="text" tabindex="105" placeholder="">
</div>
</div>
</div>
<div class="grid--cell">
<div class="grid gs4 gsy fd-column">
<div class="grid--cell">
<div class="grid gs2 gsy fd-column">
<label class="grid--cell s-label" for="m-
address">Email</label>
<p class="grid--cell s-description">Required, but never
shown</p>
</div>
</div>
<div class="grid ps-relative">
<input class="s-input js-post-email-field" id="m-address"
name="m-address" type="text" size="40" tabindex="106" placeholder="">
</div>
</div>
</div>

</div>
</div>
</div>
<script>
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login',
'https%3a%2f%2fstackoverflow.com%2fquestions%2f14797734%2fk-and-r-exercise-1-
22%23new-answer', 'question_page');
}
);
</script>
<noscript>
<h3 class="grid--cell fs-title">Post as a guest</h3>
<div class="grid--cell">
<div class="grid gs4 gsy fd-column">
<label class="s-label" for="display-name">Name</label>
<div class="grid ps-relative">
<input class="s-input" id="display-name" name="display-
name" maxlength="30" type="text" value="" tabindex="105" placeholder="" />
</div>
</div>
</div>
<div class="grid--cell">
<div class="grid gs4 gsy fd-column">
<div class="grid--cell">
<div class="grid gs2 gsy fd-column">
<label class="grid--cell s-label" for="m-
address">Email</label>
<p class="grid--cell s-description">Required, but never
shown</p>
</div>
</div>
<div class="grid ps-relative">
<input class="s-input js-post-email-field" id="m-address"
name="m-address" type="text" value="" size="40" tabindex="106" placeholder="" />
</div>
</div>
</div>
</noscript>

</div>

<div
class="form-submit cbt grid gsx gs4">
<button id="submit-button" class="grid--
cell s-btn s-btn__primary s-btn__icon" type="submit" tabindex="120"
autocomplete="off">
Post Your Answer </button>
<button class="grid--cell s-btn s-
btn__danger discard-answer dno">
Discard
</button>
<p class="privacy-policy-agreement">
By clicking “Post Your Answer”, you
agree to our <a href="https://stackoverflow.com/legal/terms-of-service/public"
name="tos" target="_blank" class="-link">terms of service</a>, <a
href="https://stackoverflow.com/legal/privacy-policy" name="privacy"
target="_blank" class="-link">privacy policy</a> and <a
href="https://stackoverflow.com/legal/cookie-policy" name="cookie" target="_blank"
class="-link">cookie policy</a><input type="hidden" name="legalLinksShown"
value="1">
</p>
</div>
<div class="js-general-error general-error cbt
d-none"></div>
</form>

<h2 class="bottom-notice" data-loc="1">


Not the answer you're looking for? Browse other
questions tagged <a href="https://stackoverflow.com/questions/tagged/c"
class="post-tag" title="show questions tagged 'c'" rel="tag">c</a> or <a
href="https://stackoverflow.com/questions/ask">ask your own question</a>.
</h2>
</div>
</div>
<div id="sidebar" class="show-votes"
role="complementary" aria-label="sidebar">
<div class="s-sidebarwidget s-sidebarwidget__yellow s-anchors s-
anchors__grayscale mb16" data-tracker="cb=1">
<div class="s-sidebarwidget--header s-sidebarwidget__small-bold-
text fc-light">
Blog
</div>
<ul class="s-sidebarwidget--content s-sidebarwidget__items pt0 pr16 pb0
pl16">
<li class="s-sidebarwidget--item grid">
<div class="grid--cell1 fl-shrink0">
<a href="https://stackoverflow.blog/2020/02/27/the-eight-factors-
of-happiness-for-developers/?cb=1" data-ga="[&quot;community bulletin
board&quot;,&quot;Blog&quot;,&quot;https://stackoverflow.blog/2020/02/27/the-eight-
factors-of-happiness-for-developers/&quot;,null,null]">
<div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div>
</a>
</div>
<div class="grid--cell">
<a href="https://stackoverflow.blog/2020/02/27/the-eight-factors-of-
happiness-for-developers/?cb=1" class="js-gps-track" data-ga="[&quot;community
bulletin
board&quot;,&quot;Blog&quot;,&quot;https://stackoverflow.blog/2020/02/27/the-eight-
factors-of-happiness-for-developers/&quot;,null,null]" data-gps-
track="communitybulletin.click({ priority: 1, position: 0 })">The eight factors of
happiness for developers</a>
</div>
</li>
</ul>
<ul class="s-sidebarwidget--content s-sidebarwidget__items pt0 pr16 pb0
pl16">
<li class="s-sidebarwidget--item grid">
<div class="grid--cell1 fl-shrink0">
<a href="https://stackoverflow.blog/2020/02/28/this-week-
stackoverflowknows-outlaw-wifi-gpu-weakness-and-neutrinos-per-second/?cb=1" data-
ga="[&quot;community bulletin
board&quot;,&quot;Blog&quot;,&quot;https://stackoverflow.blog/2020/02/28/this-week-
stackoverflowknows-outlaw-wifi-gpu-weakness-and-neutrinos-per-
second/&quot;,null,null]">
<div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div>
</a>
</div>
<div class="grid--cell">
<a href="https://stackoverflow.blog/2020/02/28/this-week-
stackoverflowknows-outlaw-wifi-gpu-weakness-and-neutrinos-per-second/?cb=1"
class="js-gps-track" title="This week, #StackOverflowKnows outlaw wifi, GPU
weakness, and neutrinos per second" data-ga="[&quot;community bulletin
board&quot;,&quot;Blog&quot;,&quot;https://stackoverflow.blog/2020/02/28/this-week-
stackoverflowknows-outlaw-wifi-gpu-weakness-and-neutrinos-per-
second/&quot;,null,null]" data-gps-track="communitybulletin.click({ priority: 1,
position: 1 })">This week, #StackOverflowKnows outlaw wifi, GPU weakness, and
neutrinos per…</a>
</div>
</li>
</ul>
<div class="s-sidebarwidget--header s-sidebarwidget__small-bold-
text fc-light">
Featured on Meta
</div>
<ul class="s-sidebarwidget--content s-sidebarwidget__items pt0 pr16 pb0
pl16">
<li class="s-sidebarwidget--item grid">
<div class="grid--cell1 fl-shrink0">
<a href="https://meta.stackexchange.com/questions/343890/the-
company-s-commitment-to-rebuilding-the-relationship-with-you-our-community?cb=1"
data-ga="[&quot;community bulletin board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackexchange.com/questions/343890/the-company-s-
commitment-to-rebuilding-the-relationship-with-you-our-community&quot;,null,null]">
<div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div>
</a>
</div>
<div class="grid--cell">
<a href="https://meta.stackexchange.com/questions/343890/the-company-s-
commitment-to-rebuilding-the-relationship-with-you-our-community?cb=1" class="js-
gps-track" data-ga="[&quot;community bulletin board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackexchange.com/questions/343890/the-company-s-
commitment-to-rebuilding-the-relationship-with-you-our-community&quot;,null,null]"
data-gps-track="communitybulletin.click({ priority: 3, position: 2 })">The
company’s commitment to rebuilding the relationship with you, our community</a>
</div>
</li>
</ul>
<ul class="s-sidebarwidget--content s-sidebarwidget__items pt0 pr16 pb0
pl16">
<li class="s-sidebarwidget--item grid">
<div class="grid--cell1 fl-shrink0">
<a href="https://meta.stackexchange.com/questions/344178/the-q1-
2020-community-roadmap-is-on-the-blog?cb=1" data-ga="[&quot;community bulletin
board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackexchange.com/questions/344178/the-q1-2020-
community-roadmap-is-on-the-blog&quot;,null,null]">
<div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div>
</a>
</div>
<div class="grid--cell">
<a href="https://meta.stackexchange.com/questions/344178/the-q1-2020-
community-roadmap-is-on-the-blog?cb=1" class="js-gps-track" data-
ga="[&quot;community bulletin board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackexchange.com/questions/344178/the-q1-2020-
community-roadmap-is-on-the-blog&quot;,null,null]" data-gps-
track="communitybulletin.click({ priority: 3, position: 3 })">The Q1 2020 Community
Roadmap is on the Blog</a>
</div>
</li>
</ul>
<ul class="s-sidebarwidget--content s-sidebarwidget__items pt0 pr16 pb0
pl16">
<li class="s-sidebarwidget--item grid">
<div class="grid--cell1 fl-shrink0">
<a href="https://meta.stackexchange.com/questions/344187/planned-
maintenance-scheduled-for-saturday-march-7-2020-at-1400-utc-9am-us-e?cb=1" data-
ga="[&quot;community bulletin board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackexchange.com/questions/344187/planned-
maintenance-scheduled-for-saturday-march-7-2020-at-1400-utc-9am-us-
e&quot;,null,null]">
<div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div>
</a>
</div>
<div class="grid--cell">
<a href="https://meta.stackexchange.com/questions/344187/planned-
maintenance-scheduled-for-saturday-march-7-2020-at-1400-utc-9am-us-e?cb=1"
class="js-gps-track" title="Planned maintenance scheduled for Saturday, March 7,
2020 at 14:00 UTC (9AM US/Eastern)" data-ga="[&quot;community bulletin
board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackexchange.com/questions/344187/planned-
maintenance-scheduled-for-saturday-march-7-2020-at-1400-utc-9am-us-
e&quot;,null,null]" data-gps-track="communitybulletin.click({ priority: 3,
position: 4 })">Planned maintenance scheduled for Saturday, March 7, 2020 at 14:00
UTC (9AM…</a>
</div>
</li>
</ul>
<ul class="s-sidebarwidget--content s-sidebarwidget__items pt0 pr16 pb0
pl16">
<li class="s-sidebarwidget--item grid">
<div class="grid--cell1 fl-shrink0">
<a href="https://meta.stackoverflow.com/questions/393723/what-is-
the-mission-of-meta-as-a-community?cb=1" data-ga="[&quot;community bulletin
board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackoverflow.com/questions/393723/what-is-the-
mission-of-meta-as-a-community&quot;,null,null]">
<div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div>
</a>
</div>
<div class="grid--cell">
<a href="https://meta.stackoverflow.com/questions/393723/what-is-the-
mission-of-meta-as-a-community?cb=1" class="js-gps-track" data-ga="[&quot;community
bulletin board&quot;,&quot;Featured on
Meta&quot;,&quot;https://meta.stackoverflow.com/questions/393723/what-is-the-
mission-of-meta-as-a-community&quot;,null,null]" data-gps-
track="communitybulletin.click({ priority: 6, position: 5 })">What is the mission
of Meta, as a community?</a>
</div>
</li>
</ul>

</div>
<div id="dfp-tsb" class="everyonelovesstackoverflow everyoneloves__top-
sidebar"></div><div id="dfp-msb" class="everyonelovesstackoverflow
everyoneloves__mid-sidebar" data-clc-stalled="true"></div><div id="hireme"></div>

<div class="module sidebar-related">


<h4 id="h-related">Related</h4>
<div class="related js-gps-related-questions" data-
tracker="rq=1">
<div class="spacer js-gps-track"><a
href="https://stackoverflow.com/q/6964392?rq=1" title="Vote score (upvotes -
downvotes)"><div class="answer-votes answered-accepted large">658</div></a><a
href="https://stackoverflow.com/questions/6964392/speed-comparison-with-project-
euler-c-vs-python-vs-erlang-vs-haskell?rq=1" class="question-hyperlink">Speed
comparison with Project Euler: C vs Python vs Erlang vs Haskell</a></div><div
class="spacer js-gps-track"><a href="https://stackoverflow.com/q/7178201?rq=1"
title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted
default">10</div></a><a href="https://stackoverflow.com/questions/7178201/kr-
exercise-1-20-need-some-clarification?rq=1" class="question-hyperlink">K&amp;R
Exercise 1-20 - Need some clarification</a></div><div class="spacer js-gps-
track"><a href="https://stackoverflow.com/q/7711831?rq=1" title="Vote score
(upvotes - downvotes)"><div class="answer-votes answered-accepted
default">3</div></a><a href="https://stackoverflow.com/questions/7711831/whats-
wrong-with-my-solution-to-kr-exercise-1-22?rq=1" class="question-hyperlink">What's
wrong with my solution to K&amp;R exercise 1-22?</a></div><div class="spacer js-
gps-track"><a href="https://stackoverflow.com/q/21974420?rq=1" title="Vote score
(upvotes - downvotes)"><div class="answer-votes default">1</div></a><a
href="https://stackoverflow.com/questions/21974420/exercise-1-21-c-programming-
language?rq=1" class="question-hyperlink">Exercise 1-21 C Programming
Language</a></div><div class="spacer js-gps-track"><a
href="https://stackoverflow.com/q/22283364?rq=1" title="Vote score (upvotes -
downvotes)"><div class="answer-votes answered-accepted default">3</div></a><a
href="https://stackoverflow.com/questions/22283364/kr-exercise-1-18-remove-
trailing-blanks?rq=1" class="question-hyperlink">K&amp;R Exercise 1.18 (Remove
Trailing Blanks)</a></div><div class="spacer js-gps-track"><a
href="https://stackoverflow.com/q/35541250?rq=1" title="Vote score (upvotes -
downvotes)"><div class="answer-votes default">3</div></a><a
href="https://stackoverflow.com/questions/35541250/kr-exercise-1-22-hints?rq=1"
class="question-hyperlink">K&amp;R exercise 1-22 Hints</a></div><div class="spacer
js-gps-track"><a href="https://stackoverflow.com/q/51435943?rq=1" title="Vote score
(upvotes - downvotes)"><div class="answer-votes answered-accepted
default">2</div></a><a href="https://stackoverflow.com/questions/51435943/folding-
input-lines-every-nth-column-kr-1-22-in-c?rq=1" class="question-hyperlink">Folding
input lines every nth column (K&amp;R 1-22) in C</a></div>
</div>
</div>

<div id="hot-network-questions" class="module tex2jax_ignore">


<h4>
<a href="https://stackexchange.com/questions?tab=hot" class="js-gps-track
s-link s-link__inherit" data-gps-track="posts_hot_network.click({ item_type:1,
location:11 })">
Hot Network Questions
</a>
</h4>
<ul>
<li>
<div class="favicon favicon-chess" title="Chess Stack
Exchange"></div><a href="https://chess.stackexchange.com/questions/28689/what-is-
the-best-strategy-for-an-amateur-to-last-as-many-moves-as-possible-again"
class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:435 });
posts_hot_network.click({ item_type:2, location:11 })">
What is the best strategy for an amateur to last as many moves
as possible against a GM?
</a>

</li>
<li>
<div class="favicon favicon-travel" title="Travel Stack
Exchange"></div><a
href="https://travel.stackexchange.com/questions/154424/continental-us-air-routes-
that-require-more-than-2-stops" class="js-gps-track question-hyperlink mb0" data-
gps-track="site.switch({ item_type:11, target_site:273 });
posts_hot_network.click({ item_type:2, location:11 })">
Continental US Air Routes that Require More than 2 Stops?
</a>

</li>
<li>
<div class="favicon favicon-academia" title="Academia Stack
Exchange"></div><a href="https://academia.stackexchange.com/questions/144700/is-it-
okay-to-work-on-colleagues-ideas-after-they-leave-academia" class="js-gps-track
question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:415
}); posts_hot_network.click({ item_type:2, location:11 })">
Is it okay to work on colleagues' ideas after they leave
academia?
</a>

</li>
<li>
<div class="favicon favicon-english" title="English Language &amp;
Usage Stack Exchange"></div><a
href="https://english.stackexchange.com/questions/526457/english-term-for-german-
ausgangssperre" class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:97 });
posts_hot_network.click({ item_type:2, location:11 })">
English term for German "Ausgangssperre"
</a>

</li>
<li>
<div class="favicon favicon-mathoverflow"
title="MathOverflow"></div><a href="https://mathoverflow.net/questions/353804/sum-
of-squares-and-partitions" class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:504 });
posts_hot_network.click({ item_type:2, location:11 })">
Sum of squares and partitions
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-chemistry" title="Chemistry Stack
Exchange"></div><a
href="https://chemistry.stackexchange.com/questions/128440/substructure-search-
with-rdkit" class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:431 });
posts_hot_network.click({ item_type:2, location:11 })">
Substructure search with RDKit
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-stats" title="Cross Validated"></div><a
href="https://stats.stackexchange.com/questions/451880/does-rnorm-produce-numbers-
with-replacement-without-replacement" class="js-gps-track question-hyperlink mb0"
data-gps-track="site.switch({ item_type:11, target_site:65 });
posts_hot_network.click({ item_type:2, location:11 })">
Does rnorm produce numbers with replacement/without
replacement?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-ai" title="Artificial Intelligence
Stack Exchange"></div><a href="https://ai.stackexchange.com/questions/18303/is-a-
dystopian-surveillance-state-computationally-possible" class="js-gps-track
question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:658
}); posts_hot_network.click({ item_type:2, location:11 })">
Is a dystopian surveillance state computationally possible?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-rpg" title="Role-playing Games Stack
Exchange"></div><a href="https://rpg.stackexchange.com/questions/165566/what-are-
the-repercussions-of-being-able-to-finish-a-short-rest-in-only-10-minut" class="js-
gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11,
target_site:122 }); posts_hot_network.click({ item_type:2, location:11 })">
What are the repercussions of being able to finish a short rest
in only 10 minutes instead of taking 1 hour?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-tex" title="TeX - LaTeX Stack
Exchange"></div><a href="https://tex.stackexchange.com/questions/530289/catching-
pokemon-with-tikz-and-why-ducks-matter" class="js-gps-track question-hyperlink mb0"
data-gps-track="site.switch({ item_type:11, target_site:85 });
posts_hot_network.click({ item_type:2, location:11 })">
Catching Pokemon with TikZ ... and why ducks matter
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-worldbuilding" title="Worldbuilding
Stack Exchange"></div><a
href="https://worldbuilding.stackexchange.com/questions/169889/a-drinks-party-
underwater" class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:579 });
posts_hot_network.click({ item_type:2, location:11 })">
A drinks party underwater?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-electronics" title="Electrical
Engineering Stack Exchange"></div><a
href="https://electronics.stackexchange.com/questions/483663/whats-the-right-way-
to-place-these-capacitors" class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:135 });
posts_hot_network.click({ item_type:2, location:11 })">
What's the right way to place these capacitors
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-space" title="Space Exploration Stack
Exchange"></div><a href="https://space.stackexchange.com/questions/41683/what-does-
space-have-to-do-with-providing-fresh-water-without-the-need-for" class="js-gps-
track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11,
target_site:508 }); posts_hot_network.click({ item_type:2, location:11 })">
What does space have to do with providing "fresh
water ... without the need for aquifers or pipes?" as Steven Kwast
suggested?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-superuser" title="Super User"></div><a
href="https://superuser.com/questions/1529129/run-as-administrator-vs-run-as-admin"
class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:3 });
posts_hot_network.click({ item_type:2, location:11 })">
Run as Administrator vs Run (As Admin!)
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-worldbuilding" title="Worldbuilding
Stack Exchange"></div><a
href="https://worldbuilding.stackexchange.com/questions/169707/how-could-humans-
reach-distant-stars-and-still-stay-as-a-united-government-if-yo" class="js-gps-
track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11,
target_site:579 }); posts_hot_network.click({ item_type:2, location:11 })">
How could humans reach distant stars and still stay
as a united government if you can't use faster than light travel
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-rpg" title="Role-playing Games Stack
Exchange"></div><a href="https://rpg.stackexchange.com/questions/165597/are-
creatures-with-the-immune-to-poisoned-condition-immune-to-poison-damage" class="js-
gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11,
target_site:122 }); posts_hot_network.click({ item_type:2, location:11 })">
Are creatures with the immune to poisoned condition immune to
poison damage?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-academia" title="Academia Stack
Exchange"></div><a href="https://academia.stackexchange.com/questions/144693/how-
should-i-respond-to-a-worrying-email-from-an-ex-student" class="js-gps-track
question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:415
}); posts_hot_network.click({ item_type:2, location:11 })">
How should I respond to a worrying email from an ex student?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-judaism" title="Mi Yodeya"></div><a
href="https://judaism.stackexchange.com/questions/111674/ptij-whose-rabbinical-
supervision-would-achashverush-have-used" class="js-gps-track question-hyperlink
mb0" data-gps-track="site.switch({ item_type:11, target_site:248 });
posts_hot_network.click({ item_type:2, location:11 })">
PTIJ: Whose rabbinical supervision would Achashverush have
used?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-space" title="Space Exploration Stack
Exchange"></div><a href="https://space.stackexchange.com/questions/41665/if-the-
iss-had-an-emergency-how-long-would-it-take-to-get-a-rocket-to-it" class="js-gps-
track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11,
target_site:508 }); posts_hot_network.click({ item_type:2, location:11 })">
If the ISS had an emergency, how long would it take to get a
rocket to it?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-retrocomputing" title="Retrocomputing
Stack Exchange"></div><a
href="https://retrocomputing.stackexchange.com/questions/13977/what-do-the-80-40-
and-keyboard-buttons-on-my-apple-iic-do" class="js-gps-track question-hyperlink
mb0" data-gps-track="site.switch({ item_type:11, target_site:648 });
posts_hot_network.click({ item_type:2, location:11 })">
What do the '80/40' and 'keyboard' buttons on my Apple IIc do?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-puzzling" title="Puzzling Stack
Exchange"></div><a href="https://puzzling.stackexchange.com/questions/94332/word-
square-thriller" class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:559 });
posts_hot_network.click({ item_type:2, location:11 })">
Word square thriller
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-puzzling" title="Puzzling Stack
Exchange"></div><a href="https://puzzling.stackexchange.com/questions/94318/the-
everyday-spear" class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:559 });
posts_hot_network.click({ item_type:2, location:11 })">
The everyday spear
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-rpg" title="Role-playing Games Stack
Exchange"></div><a href="https://rpg.stackexchange.com/questions/165540/if-you-
start-casting-a-new-concentration-spell-while-concentrating-on-haste-doe"
class="js-gps-track question-hyperlink mb0" data-gps-
track="site.switch({ item_type:11, target_site:122 });
posts_hot_network.click({ item_type:2, location:11 })">
If you start casting a new concentration spell while
concentrating on Haste, does the wave of lethargy interrupt the casting
of the new spell?
</a>

</li>
<li class="js-hidden" style="">
<div class="favicon favicon-softwareengineering" title="Software
Engineering Stack Exchange"></div><a
href="https://softwareengineering.stackexchange.com/questions/405749/is-technical-
debt-management-problem-more-of-a-culture-issue-or-insight-issue" class="js-gps-
track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11,
target_site:131 }); posts_hot_network.click({ item_type:2, location:11 })">
Is technical debt management problem more of a culture issue or
insight issue
</a>

</li>
</ul>

</div>

<div id="feed-link" class="js-feed-link">


<a href="https://stackoverflow.com/feeds/question/14797734" title="Feed of
this question and its answers">
<svg aria-hidden="true" class="svg-icon fc-orange-400 iconRss"
width="18" height="18" viewBox="0 0 18 18"><path d="M1 3c0-1.1.9-2 2-2h12a2 2 0 0 1
2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3zm14.5 12C15.5 8.1 9.9 2.5 3 2.5V5a10 10 0 0
1 10 10h2.5zm-5 0A7.5 7.5 0 0 0 3 7.5V10a5 5 0 0 1 5 5h2.5zm-5 0A2.5 2.5 0 0 0 3
12.5V15h2.5z"></path></svg>
Question feed
</a>
</div>
<aside class="s-modal js-feed-link-modal" tabindex="-1" role="dialog" aria-
labelledby="feed-modal-title" aria-describedby="feed-modal-description" aria-
hidden="true">
<div class="s-modal--dialog js-modal-dialog wmx4" role="document" data-
controller="se-draggable">
<h1 class="s-modal--header fw-bold js-first-tabbable c-move" id="feed-
modal-title" data-target="se-draggable.handle" tabindex="0">
Subscribe to RSS
</h1>
<div class="grid gs4 gsy fd-column">
<div class="grid--cell">
<label class="d-block s-label c-default" for="feed-url">
Question feed
<p class="s-description mt2" id="feed-modal-description">To
subscribe to this RSS feed, copy and paste this URL into your RSS reader.</p>
</label>
</div>
<div class="grid ps-relative">
<input class="s-input" type="text" name="feed-url" id="feed-
url" readonly="readonly" value="https://stackoverflow.com/feeds/question/14797734">
<svg aria-hidden="true" class="svg-icon s-input-icon fc-orange-
400 iconRss" width="18" height="18" viewBox="0 0 18 18"><path d="M1 3c0-1.1.9-2 2-
2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3zm14.5 12C15.5 8.1 9.9 2.5 3
2.5V5a10 10 0 0 1 10 10h2.5zm-5 0A7.5 7.5 0 0 0 3 7.5V10a5 5 0 0 1 5 5h2.5zm-5
0A2.5 2.5 0 0 0 3 12.5V15h2.5z"></path></svg>
</div>
</div>
<a class="s-modal--close s-btn s-btn__muted js-modal-close js-last-
tabbable" href="#" aria-label="Close">
<svg aria-hidden="true" class="svg-icon iconClearSm" width="14"
height="14" viewBox="0 0 14 14"><path d="M12 3.41L10.59 2 7 5.59 3.41 2 2 3.41 5.59
7 2 10.59 3.41 12 7 8.41 10.59 12 12 10.59 8.41 7 12 3.41z"></path></svg>
</a>
</div>
</aside>
</div>
</div>
<script>StackExchange.ready(function()
{$.get('/posts/14797734/ivc/6e7a');});</script>
<noscript><div><img src="/posts/14797734/ivc/6e7a" class="dno" alt="" width="0"
height="0"></div></noscript><div style="display:none" id="prettify-lang">lang-
c</div></div>

</div>
</div>

<script>;try{(function(a){function b(a){return'string'==typeof a?
document.getElementById(a):a}function c(a){return a=b(a),!!
a&&'none'===getComputedStyle(a).display}function d(a){return!c(a)}function e(a)
{return!!a}function f(a){return /^\s*$/.test(b(a).innerHTML)}function g(a){var
b=a.style;b.height=b.maxHeight=b.minHeight='auto',b.display='none',
[].forEach.call(a.children,g)}function h(a,b){var c;return function(){return
a&&(c=a.call(b||this,arguments),a=null),c}}function i(a){var
b=document.createElement('script');b.src=a,document.body.appendChild(b)}function
j(a){return k([],a)}function k(a,b){return a.push=function(a){return b(),delete
this.push,this.push(a)},a}function l(){try{return!new Function('return
async()=>{};')}catch(a){return!0}}function m(){return'undefined'!=typeof
googletag&&!!googletag.apiReady}function n(){m()||(googletag={cmd:j(A)})}function
o(){var a=document.createElement('div');a.className='adsbox',a.id='clc-
abd',a.style.position='absolute',a.style.pointerEvents='none',a.innerHTML='&nbsp;',
document.body.appendChild(a)}function p(){return Object.keys(E.ids)}function r(a)
{var b=E.ids[a],c=E.slots[b];'function'==typeof
c&&(c=c(a));return{path:'/'+B+'/'+D+'/'+b+'/'+C,sizes:c,zone:b}}function q(a)
{try{var b=a.slot.getSlotElementId(),c=[];b||c.push('id=0');var
d=document.getElementById(b);if(!b||d?d.hasAttribute('data-clc-
stalled')&&c.push('st=1'):c.push('el=0'),0!==c.length)return void
F(c.join('&'));var
e=r(b),f=e.zone;if(clc.collapse&&clc.collapse[f]&&a.isEmpty)return g(d),void
d.setAttribute('data-clc-ready','true');if(-1!
==x.dh.indexOf(a.lineItemId))g(d);else if(a.lineItemId&&(d.setAttribute('data-clc-
prefilled','true'),'dfp-msb'==b)){var
h=document.getElementById('hireme');g(h)}d.setAttribute('data-clc-
ready','true')}catch(a){var i=document.querySelector('#dfp-tsb, #dfp-isb, #clc-
tsb');i&&i.setAttribute('data-clc-ready','true'),F('e=1')}}function s(a){return!
(clc.collapse&&void 0!==clc.collapse[a])||!!clc.collapse[a]}function t(a,b){'dfp-
isb'===a&&b.setTargeting('Sidebar',['Inline']),'dfp-
tsb'===a&&b.setTargeting('Sidebar',['Right']);var
c=r(a),d=c.path,e=c.sizes,f=c.zone,g=googletag.defineSlot(d,e,a);if(s(f)){var h=!
x.ll;g.setCollapseEmptyDiv(!0,h)}g.addService(b),!1}function u(b){var
c=a.dfp&&a.dfp.targeting||{};Object.keys(c).forEach(function(a)
{b.setTargeting(a,c[a])})}function v(a){var
g=a.map(b).filter(e);return{eligible:g.filter(f).filter(d),ineligible:g.filter(c)}}
function w(b){if(void 0===b&&(b=p()),!m())return n(),void
googletag.cmd.push(function(){return w(b)});var
c=v(b),d=c.eligible,e=c.ineligible;if(e.forEach(g),0!==d.length)
{x.abd&&o(),googletag.destroySlots();var
f=googletag.pubads();x.sf&&(f.setForceSafeFrame(!
0),f.setSafeFrameConfig({allowOverlayExpansion:!0,allowPushExpansion:!0,sandbox:!
0})),x.ll?
f.enableLazyLoad({fetchMarginPercent:0,renderMarginPercent:0}):f.enableSingleReques
t(),a.sreEvent||(f.addEventListener('slotRenderEnded',q),a.sreEvent=!
0),u(f),d.forEach(function(a){t(a.id,f),a.setAttribute('data-dfp-
zone','true')}),googletag.enableServices(),d.forEach(function(a)
{googletag.display(a.id)})}}var x=function(a){for(var
b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];for(var d,e=0,f=b;e<f.length;e+
+)for(var g in d=f[e],d)a[g]=d[g];return a}
({"lib":"https://cdn.sstatic.net/clc/clc.min.js?
v=d86ede4e666e","style":"https://cdn.sstatic.net/clc/styles/clc.min.css?
v=c4f5b80d56c6","u":"https://clc.stackoverflow.com/markup.js","wa":true,"kt":2000,"
tto":true,"h":"clc.stackoverflow.com","allowed":"^(((talent\\.)?stackoverflow)|
(blog\\.codinghorror)|(serverfault|askubuntu)|([^\\.]
+\\.stackexchange))\\.com$","wv":true,"al":false,"dh":
[5171832659],"abd":true},a.options||{}),y=h(function(){var
a=x.lib;l()&&(a=a.replace(/(\.min)?\.js(\?v=[0-9a-fA-F]+)?
$/,'.ie$1.js$2')),i(a)}),z=a.cmd||[];Array.isArray(z)&&(0<z.length?y():k(z,y));var
A=h(function()
{i('https://www.googletagservices.com/tag/js/gpt.js')}),B='248424177',C=/^\/tags\//
.test(location.pathname)||/^\/questions\/tagged\//.test(location.pathname)?'tag-
pages':/^\/$/.test(location.pathname)||/^\/home/.test(location.pathname)?'home-
page':'question-pages',D=location.hostname;var E={slots:{lb:[[728,90]],mlb:
[[728,90]],smlb:[[728,90]],bmlb:[[728,90]],sb:function(a){return'dfp-tsb'===a?
[[300,250],[300,600]]:[[300,250]]},"tag-sponsorship":[[730,135]],"mobile-below-
question":[[320,50],[300,250]],msb:[[300,250],[300,600]]},ids:{"dfp-tlb":'lb',"dfp-
mlb":'mlb',"dfp-smlb":'smlb',"dfp-bmlb":'bmlb',"dfp-tsb":'sb',"dfp-isb":'sb',"dfp-
tag":'tag-sponsorship',"dfp-msb":'msb',"dfp-m-aq":'mobile-below-question',"clc-
tlb":'lb',"clc-mlb":'mlb',"clc-tsb":'sb'}},F=function(a){new
Image().src='https://'+x.h+'/stalled.gif?'+a};(function(){var
b=x.al;b&&z.push(function(){return a.load()})})
(),n(),a.dfp={load:w},a.options=x,a.cmd=z})(this.clc=this.clc||{})}catch(a)
{window.console.error(a)}</script> <script>
var clc = clc || {};
clc.collapse = { sb: !0, 'tag-sponsorship': !0, lb:!0, mlb:!0, smlb:!0,
bmlb:!0, 'mobile-below-question':!0};
clc.options = clc.options || {};
clc.options.sf = !0;
clc.options.hb = !1;
clc.options.ll = !1;
clc.cmd = clc.cmd || [];
clc.cmd.push(function ()
{ window.clc_request='AkUXKFH5vNcIAAAAAKbL4QACAAAAAgAAAAADAAAAfGN8AMippNVo2vII9GE';
clc.load(); });
clc.dfp = clc.dfp || {};
clc.dfp.targeting = {Registered:['false'],'so-tag':['c'],'tag-reportable':
['c'],'tag-non-reportable':['c'],NumberOfAnswers:['2']};
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function () { clc.dfp.load(); });
</script><script src="c%20-%20K%20and%20R%20exercise%201-22%20-%20Stack
%20Overflow_files/clc.js"></script><script src="c%20-%20K%20and%20R%20exercise%201-
22%20-%20Stack%20Overflow_files/gpt.js"></script>

<footer id="footer" class="site-footer js-footer" role="contentinfo">


<div class="site-footer--container">
<div class="site-footer--logo">

<a href="https://stackoverflow.com/"><svg aria-hidden="true"


class="svg-icon native iconLogoGlyphMd" width="32" height="37" viewBox="0 0 32
37"><path d="M26 33v-9h4v13H0V24h4v9h22z" fill="#BCBBBB"></path><path d="M21.5 0l-
2.7 2 9.9 13.3 2.7-2L21.5 0zM26 18.4L13.3 7.8l2.1-2.5 12.7 10.6-2.1 2.5zM9.1
15.2l15 7 1.4-3-15-7-1.4 3zm14 10.79l.68-2.95-16.1-3.35L7 23l16.1 2.99zM23 30H7v-
3h16v3z" fill="#F48024"></path></svg></a>
</div>

<nav class="site-footer--nav">
<div class="site-footer--col site-footer--col__visible js-
footer-col" data-name="default">
<h5 class="-title"><a href="https://stackoverflow.com/"
class="js-gps-track" data-gps-track="footer.click({ location: 2, link: 15})">Stack
Overflow</a></h5>
<ul class="-list js-primary-footer-links">
<li class="-item"><a
href="https://stackoverflow.com/questions" class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 16})">Questions</a></li>
<li class="-item"><a
href="https://stackoverflow.com/jobs" class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 17})">Jobs</a></li>
<li class="-item"><a
href="https://stackoverflow.com/jobs/directory/developer-jobs" class="js-gps-track
-link" data-gps-track="footer.click({ location: 2, link: 11})">Developer Jobs
Directory</a></li>
<li class="-item"><a
href="https://stackoverflow.com/jobs/salary" class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 28})">Salary Calculator</a></li>
<li class="-item"><a
href="https://stackoverflow.com/help" class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 3 })">Help</a></li>
<li class="-item"><a
onclick='StackExchange.switchMobile("on")' class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 12 })">Mobile</a></li>
<li class="-item"><a class="-link" role="button">Disable
Responsiveness</a></li></ul>
</div>
<div class="site-footer--col site-footer--col__visible js-
footer-col" data-name="default">
<h5 class="-title"><a
href="https://stackoverflowbusiness.com/" class="js-gps-track" data-gps-
track="footer.click({ location: 2, link: 19 })">Products</a></h5>
<ul class="-list">
<li class="-item"><a
href="https://stackoverflow.com/teams" class="js-gps-track -link" data-
ga="[&quot;teams traffic&quot;,&quot;footer - site
nav&quot;,&quot;stackoverflow.com/teams&quot;,null,
{&quot;dimension4&quot;:&quot;teams&quot;}]" data-gps-
track="footer.click({ location: 2, link: 29 })">Teams</a></li>
<li class="-item"><a
href="https://stackoverflow.com/talent" class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 20 })">Talent</a></li>
<li class="-item"><a
href="https://stackoverflow.com/advertising" class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 21 })">Advertising</a></li>
<li class="-item"><a
href="https://stackoverflow.com/enterprise" class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 22 })">Enterprise</a></li>
</ul>
</div>
<div class="site-footer--col site-footer--col__visible js-footer-
col" data-name="default">
<h5 class="-title"><a class="js-gps-track" data-gps-
track="footer.click({ location: 2, link: 1 })"
href="https://stackoverflow.com/company/about">Company</a></h5>
<ul class="-list">
<li class="-item"><a class="js-gps-track -link" data-
gps-track="footer.click({ location: 2, link: 1 })"
href="https://stackoverflow.com/company/about">About</a></li>
<li class="-item"><a class="js-gps-
track -link" data-gps-track="footer.click({ location: 2, link: 27 })"
href="https://stackoverflow.com/company/press">Press</a></li>
<li class="-item"><a class="js-gps-track -link" data-
gps-track="footer.click({ location: 2, link: 9 })"
href="https://stackoverflow.com/company/work-here">Work Here</a></li>
<li class="-item"><a class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 7 })"
href="https://stackoverflow.com/legal">Legal</a></li>
<li class="-item"><a class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link: 8 })"
href="https://stackoverflow.com/legal/privacy-policy">Privacy Policy</a></li>
<li class="-item"><a class="js-gps-track -link" data-
gps-track="footer.click({ location: 2, link: 13 })"
href="https://stackoverflow.com/company/contact">Contact Us</a></li>
</ul>
</div>
<div class="site-footer--col site-footer--categories-nav site-
footer--col__visible">
<a href="#" class="site-footer--back js-footer-back"><svg aria-
hidden="true" class="svg-icon iconArrowLeftAlt" width="18" height="18" viewBox="0 0
18 18"><path d="M10.58 16L12 14.59 6.4 9 12 3.41 10.57 2l-7 7 7
7z"></path></svg></a>
<div>
<h5 class="-title"><a href="https://stackexchange.com/"
data-gps-track="footer.click({ location: 2, link: 30 })">Stack Exchange<br>
Network</a></h5>
<ul class="-list">
<li class="-item"><a href="#" class="-link _expandable
js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location:
2, link: 24 })" data-target="Technology">Technology</a></li>
<li class="-item"><a href="#" class="-link _expandable
js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location:
2, link: 24 })" data-target="Life / Arts">Life / Arts</a></li>
<li class="-item"><a href="#" class="-link _expandable
js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location:
2, link: 24 })" data-target="Culture / Recreation">Culture / Recreation</a></li>
<li class="-item"><a href="#" class="-link _expandable
js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location:
2, link: 24 })" data-target="Science">Science</a></li>
<li class="-item"><a href="#" class="-link _expandable
js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location:
2, link: 24 })" data-target="Other">Other</a></li>

</ul>
</div>
</div>
<div class="site-footer--categories">
<div class="site-footer--col site-footer--category js-footer-
col" data-name="Technology">
<ul class="-list">
<li class="-item"><a href="https://stackoverflow.com/" class="-link
js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="professional and enthusiast programmers">Stack Overflow</a></li>
<li class="-item"><a href="https://serverfault.com/" class="-link
js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="system and network administrators">Server Fault</a></li>
<li class="-item"><a href="https://superuser.com/" class="-link js-
gps-track" data-gps-track="footer.click({ location: 2, link: 25 })" title="computer
enthusiasts and power users">Super User</a></li>
<li class="-item"><a href="https://webapps.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="power users of web applications">Web Applications</a></li>
<li class="-item"><a href="https://askubuntu.com/" class="-link js-
gps-track" data-gps-track="footer.click({ location: 2, link: 25 })" title="Ubuntu
users and developers">Ask Ubuntu</a></li>
<li class="-item"><a href="https://webmasters.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="pro webmasters">Webmasters</a></li>
<li class="-item"><a href="https://gamedev.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="professional and independent game developers">Game Development</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Technology"><ul class="-list">
<li class="-item"><a href="https://tex.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="users of TeX, LaTeX, ConTeXt, and related typesetting systems">TeX -
LaTeX</a></li>
<li class="-item"><a
href="https://softwareengineering.stackexchange.com/" class="-link js-gps-track"
data-gps-track="footer.click({ location: 2, link: 25 })" title="professionals,
academics, and students working within the systems development life cycle">Software
Engineering</a></li>
<li class="-item"><a href="https://unix.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="users of Linux, FreeBSD and other Un*x-like operating systems">Unix &amp;
Linux</a></li>
<li class="-item"><a href="https://apple.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="power users of Apple hardware and software">Ask Different (Apple)</a></li>
<li class="-item"><a href="https://wordpress.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="WordPress developers and administrators">WordPress Development</a></li>
<li class="-item"><a href="https://gis.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="cartographers, geographers and GIS professionals">Geographic Information
Systems</a></li>
<li class="-item"><a href="https://electronics.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="electronics and electrical engineering professionals, students, and
enthusiasts">Electrical Engineering</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Technology"><ul class="-list">
<li class="-item"><a href="https://android.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="enthusiasts and power users of the Android operating system">Android
Enthusiasts</a></li>
<li class="-item"><a href="https://security.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="information security professionals">Information Security</a></li>
<li class="-item"><a href="https://dba.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="database professionals who wish to improve their database skills and learn
from others in the community">Database Administrators</a></li>
<li class="-item"><a href="https://drupal.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="Drupal developers and administrators">Drupal Answers</a></li>
<li class="-item"><a href="https://sharepoint.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="SharePoint enthusiasts">SharePoint</a></li>
<li class="-item"><a href="https://ux.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="user experience researchers and experts">User Experience</a></li>
<li class="-item"><a href="https://mathematica.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="users of Wolfram Mathematica">Mathematica</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Technology"><ul class="-list">
<li class="-item"><a href="https://salesforce.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="Salesforce administrators, implementation experts, developers and anybody
in-between">Salesforce</a></li>
<li class="-item"><a
href="https://expressionengine.stackexchange.com/" class="-link js-gps-track" data-
gps-track="footer.click({ location: 2, link: 25 })" title="administrators, end
users, developers and designers for ExpressionEngine® CMS">ExpressionEngine®
Answers</a></li>
<li class="-item"><a href="https://pt.stackoverflow.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="programadores profissionais e entusiastas">Stack Overflow em
Português</a></li>
<li class="-item"><a href="https://blender.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people who use Blender to create 3D graphics, animations, or
games">Blender</a></li>
<li class="-item"><a
href="https://networkengineering.stackexchange.com/" class="-link js-gps-track"
data-gps-track="footer.click({ location: 2, link: 25 })" title="network
engineers">Network Engineering</a></li>
<li class="-item"><a href="https://crypto.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="software developers, mathematicians and others interested in
cryptography">Cryptography</a></li>
<li class="-item"><a href="https://codereview.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="peer programmer code reviews">Code Review</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Technology"><ul class="-list">
<li class="-item"><a href="https://magento.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="users of the Magento e-Commerce platform">Magento</a></li>
<li class="-item"><a href="https://softwarerecs.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people seeking specific software recommendations">Software
Recommendations</a></li>
<li class="-item"><a href="https://dsp.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="practitioners of the art and science of signal, image and video
processing">Signal Processing</a></li>
<li class="-item"><a href="https://emacs.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="those using, extending or developing Emacs">Emacs</a></li>
<li class="-item"><a href="https://raspberrypi.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="users and developers of hardware and software for Raspberry Pi">Raspberry
Pi</a></li>
<li class="-item"><a href="https://ru.stackoverflow.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="программистов">Stack Overflow на русском</a></li>
<li class="-item"><a href="https://codegolf.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="programming puzzle enthusiasts and code golfers">Code Golf</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Technology"><ul class="-list">
<li class="-item"><a href="https://es.stackoverflow.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="programadores y profesionales de la informática">Stack Overflow en
español</a></li>
<li class="-item"><a href="https://ethereum.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="users of Ethereum, the decentralized application platform and smart contract
enabled blockchain">Ethereum</a></li>
<li class="-item"><a href="https://datascience.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="Data science professionals, Machine Learning specialists, and those
interested in learning more about the field">Data Science</a></li>
<li class="-item"><a href="https://arduino.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="developers of open-source hardware and software that is compatible with
Arduino">Arduino</a></li>
<li class="-item"><a href="https://bitcoin.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="Bitcoin crypto-currency enthusiasts">Bitcoin</a></li>
<li class="-item"><a href="https://sqa.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="software quality control experts, automation engineers, and software
testers">Software Quality Assurance &amp; Testing</a></li>
<li class="-item"><a href="https://sound.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="sound engineers, producers, editors, and enthusiasts">Sound Design</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Technology"><ul class="-list">
<li class="-item"><a href="https://windowsphone.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="enthusiasts and power users of Windows Phone OS">Windows Phone</a></li>
<li class="-item">
<a href="https://stackexchange.com/sites#technology" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 26 })">
<strong>
more (27)
</strong>
</a>
</li>
</ul>
</div>
<div class="site-footer--col site-footer--category js-footer-col" data-
name="Life / Arts">
<ul class="-list">
<li class="-item"><a href="https://photo.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="professional, enthusiast and amateur photographers">Photography</a></li>
<li class="-item"><a href="https://scifi.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="science fiction and fantasy enthusiasts">Science Fiction &amp;
Fantasy</a></li>
<li class="-item"><a
href="https://graphicdesign.stackexchange.com/" class="-link js-gps-track" data-
gps-track="footer.click({ location: 2, link: 25 })" title="Graphic Design
professionals, students, and enthusiasts">Graphic Design</a></li>
<li class="-item"><a href="https://movies.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="movie and tv enthusiasts">Movies &amp; TV</a></li>
<li class="-item"><a href="https://music.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="musicians, students, and enthusiasts">Music: Practice &amp; Theory</a></li>
<li class="-item"><a
href="https://worldbuilding.stackexchange.com/" class="-link js-gps-track" data-
gps-track="footer.click({ location: 2, link: 25 })" title="writers/artists using
science, geography and culture to construct imaginary worlds and
settings">Worldbuilding</a></li>
<li class="-item"><a href="https://video.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="engineers, producers, editors, and enthusiasts spanning the fields of video,
and media creation">Video Production</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Life / Arts"><ul class="-list">
<li class="-item"><a href="https://cooking.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="professional and amateur chefs">Seasoned Advice (cooking)</a></li>
<li class="-item"><a href="https://diy.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="contractors and serious DIYers">Home Improvement</a></li>
<li class="-item"><a href="https://money.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people who want to be financially literate">Personal Finance &amp;
Money</a></li>
<li class="-item"><a href="https://academia.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="academics and those enrolled in higher education">Academia</a></li>
<li class="-item"><a href="https://law.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="legal professionals, students, and others with experience or interest in
law">Law</a></li>
<li class="-item"><a href="https://fitness.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="physical fitness professionals, athletes, trainers, and those providing
health-related needs">Physical Fitness</a></li>
<li class="-item"><a href="https://gardening.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="gardeners and landscapers">Gardening &amp; Landscaping</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Life / Arts"><ul class="-list">
<li class="-item"><a href="https://parenting.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="parents, grandparents, nannies and others with a parenting
role">Parenting</a></li>
<li class="-item">
<a href="https://stackexchange.com/sites#lifearts" class="-link
js-gps-track" data-gps-track="footer.click({ location: 2, link: 26 })">
<strong>
more (11)
</strong>
</a>
</li>
</ul>
</div>
<div class="site-footer--col site-footer--category js-footer-col" data-
name="Culture / Recreation">
<ul class="-list">
<li class="-item"><a href="https://english.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="linguists, etymologists, and serious English language enthusiasts">English
Language &amp; Usage</a></li>
<li class="-item"><a href="https://skeptics.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="scientific skepticism">Skeptics</a></li>
<li class="-item"><a href="https://judaism.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="those who base their lives on Jewish law and tradition and anyone interested
in learning more">Mi Yodeya (Judaism)</a></li>
<li class="-item"><a href="https://travel.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="road warriors and seasoned travelers">Travel</a></li>
<li class="-item"><a href="https://christianity.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="committed Christians, experts in Christianity and those interested in
learning more">Christianity</a></li>
<li class="-item"><a href="https://ell.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="speakers of other languages learning English">English Language
Learners</a></li>
<li class="-item"><a href="https://japanese.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="students, teachers, and linguists wanting to discuss the finer points of the
Japanese language">Japanese Language</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Culture / Recreation"><ul class="-list">
<li class="-item"><a href="https://chinese.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="students, teachers, and linguists wanting to discuss the finer points of the
Chinese language">Chinese Language</a></li>
<li class="-item"><a href="https://french.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="students, teachers, and linguists wanting to discuss the finer points of the
French language">French Language</a></li>
<li class="-item"><a href="https://german.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="speakers of German wanting to discuss the finer points of the language and
translation">German Language</a></li>
<li class="-item"><a href="https://hermeneutics.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="professors, theologians, and those interested in exegetical analysis of
biblical texts">Biblical Hermeneutics</a></li>
<li class="-item"><a href="https://history.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="historians and history buffs">History</a></li>
<li class="-item"><a href="https://spanish.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="linguists, teachers, students and Spanish language enthusiasts in general
wanting to discuss the finer points of the language">Spanish Language</a></li>
<li class="-item"><a href="https://islam.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="Muslims, experts in Islam, and those interested in learning more about
Islam">Islam</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Culture / Recreation"><ul class="-list">
<li class="-item"><a href="https://rus.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="лингвистов и энтузиастов русского языка">Русский язык</a></li>
<li class="-item"><a href="https://russian.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="students, teachers, and linguists wanting to discuss the finer points of the
Russian language">Russian Language</a></li>
<li class="-item"><a href="https://gaming.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="passionate videogamers on all platforms">Arqade (gaming)</a></li>
<li class="-item"><a href="https://bicycles.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people who build and repair bicycles, people who train cycling, or commute
on bicycles">Bicycles</a></li>
<li class="-item"><a href="https://rpg.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="gamemasters and players of tabletop, paper-and-pencil role-playing
games">Role-playing Games</a></li>
<li class="-item"><a href="https://anime.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="anime and manga fans">Anime &amp; Manga</a></li>
<li class="-item"><a href="https://puzzling.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="those who create, solve, and study puzzles">Puzzling</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Culture / Recreation"><ul class="-list">
<li class="-item"><a href="https://mechanics.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="mechanics and DIY enthusiast owners of cars, trucks, and motorcycles">Motor
Vehicle Maintenance &amp; Repair</a></li>
<li class="-item"><a href="https://boardgames.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people who like playing board games, designing board games or modifying the
rules of existing board games">Board &amp; Card Games</a></li>
<li class="-item"><a href="https://bricks.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="LEGO® and building block enthusiasts">Bricks</a></li>
<li class="-item"><a href="https://homebrew.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="dedicated home brewers and serious enthusiasts">Homebrewing</a></li>
<li class="-item"><a href="https://martialarts.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="students and teachers of all martial arts">Martial Arts</a></li>
<li class="-item"><a href="https://outdoors.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people who love being outdoors enjoying nature and wilderness, and learning
about the required skills and equipment">The Great Outdoors</a></li>
<li class="-item"><a href="https://poker.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="serious players and enthusiasts of poker">Poker</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Culture / Recreation"><ul class="-list">
<li class="-item"><a href="https://chess.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="serious players and enthusiasts of chess">Chess</a></li>
<li class="-item"><a href="https://sports.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="participants in team and individual sport activities">Sports</a></li>
<li class="-item">
<a href="https://stackexchange.com/sites#culturerecreation"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link:
26 })">
<strong>
more (16)
</strong>
</a>
</li>
</ul>
</div>
<div class="site-footer--col site-footer--category js-footer-col" data-
name="Science">
<ul class="-list">
<li class="-item"><a href="https://mathoverflow.net/" class="-link
js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="professional mathematicians">MathOverflow</a></li>
<li class="-item"><a href="https://math.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people studying math at any level and professionals in related
fields">Mathematics</a></li>
<li class="-item"><a href="https://stats.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="people interested in statistics, machine learning, data analysis, data
mining, and data visualization">Cross Validated (stats)</a></li>
<li class="-item"><a href="https://cstheory.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="theoretical computer scientists and researchers in related
fields">Theoretical Computer Science</a></li>
<li class="-item"><a href="https://physics.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="active researchers, academics and students of physics">Physics</a></li>
<li class="-item"><a href="https://chemistry.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="scientists, academics, teachers, and students in the field of
chemistry">Chemistry</a></li>
<li class="-item"><a href="https://biology.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="biology researchers, academics, and students">Biology</a></li>
</ul></div><div class="site-footer--col site-footer--category
js-footer-col" data-name="Science"><ul class="-list">
<li class="-item"><a href="https://cs.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="students, researchers and practitioners of computer science">Computer
Science</a></li>
<li class="-item"><a href="https://philosophy.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="those interested in the study of the fundamental nature of knowledge,
reality, and existence">Philosophy</a></li>
<li class="-item"><a href="https://linguistics.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="professional linguists and others with an interest in linguistic research
and theory">Linguistics</a></li>
<li class="-item"><a href="https://psychology.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="practitioners, researchers, and students in cognitive science, psychology,
neuroscience, and psychiatry">Psychology &amp; Neuroscience</a></li>
<li class="-item"><a href="https://scicomp.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="scientists using computers to solve scientific problems">Computational
Science</a></li>
<li class="-item">
<a href="https://stackexchange.com/sites#science" class="-link
js-gps-track" data-gps-track="footer.click({ location: 2, link: 26 })">
<strong>
more (8)
</strong>
</a>
</li>
</ul>
</div>
<div class="site-footer--col site-footer--category js-footer-col" data-
name="Other">
<ul class="-list">
<li class="-item"><a href="https://meta.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="meta-discussion of the Stack Exchange family of Q&amp;A websites">Meta Stack
Exchange</a></li>
<li class="-item"><a href="https://stackapps.com/" class="-link js-
gps-track" data-gps-track="footer.click({ location: 2, link: 25 })" title="apps,
scripts, and development with the Stack Exchange API">Stack Apps</a></li>
<li class="-item"><a href="https://api.stackexchange.com/" class="-
link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="programmatic interaction with Stack Exchange sites">API</a></li>
<li class="-item"><a href="https://data.stackexchange.com/"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 25 })"
title="querying Stack Exchange data using SQL">Data</a></li>
</ul>
</div>
</div>
</nav>
<div class="site-footer--copyright fs-fine">
<ul class="-list">
<li class="-item"><a class="js-gps-track -link" data-gps-
track="footer.click({ location: 2, link:4 })" href="https://stackoverflow.blog/?
blb=1">Blog</a></li>
<li class="-item"><a
href="https://www.facebook.com/officialstackoverflow/" class="-link js-gps-track"
data-gps-track="footer.click({ location: 2, link: 31 })">Facebook</a></li>
<li class="-item"><a href="https://twitter.com/stackoverflow"
class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link:
32 })">Twitter</a></li>
<li class="-item"><a href="https://linkedin.com/company/stack-
overflow" class="-link js-gps-track" data-gps-track="footer.click({ location: 2,
link: 33 })">LinkedIn</a></li>
</ul>

<p class="mt-auto mb24">


site design / logo © 2020 Stack Exchange Inc; user contributions licensed under <a
href="https://creativecommons.org/licenses/by-sa/4.0/" class="js-gps-track" data-
gps-track="footer.click({ location: 2, link: 34 })" rel="license">cc by-sa 4.0</a>
with <a
href="https://stackoverflow.blog/2009/06/25/attribution-required/" class="js-gps-
track" data-gps-track="footer.click({ location: 2, link:35 })"
rel="license">attribution required</a>.
<span id="svnrev">rev&nbsp;2020.2.27.36162</span>
</p>
</div>
</div>

</footer>
<script>StackExchange.ready(function ()
{ StackExchange.responsiveness.addSwitcher(); })</script>
<noscript>
<div id="noscript-warning">Stack Overflow works best with JavaScript
enabled
<img src="https://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif"
alt="" class="dno">
</div>
</noscript>

<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { (i[r].q
= i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g;
m.parentNode.insertBefore(a, m);
})(window, document, 'script', 'https://www.google-
analytics.com/analytics.js', 'ga');

StackExchange.ready(function () {

StackExchange.ga.init({
sendTitles: true,
tracker: window.ga,
trackingCodes: [
'UA-108242619-1'
],
checkDimension: 'dimension42'
});

StackExchange.ga.setDimension('dimension2', '|c|');

StackExchange.ga.setDimension('dimension3', 'Questions/Show');

StackExchange.ga.trackPageView();
});

/**/

var _qevents = _qevents || [],


_comscore = _comscore || [];
(function() {
var ssl = 'https:' == document.location.protocol,
s = document.getElementsByTagName('script')[0],
qc = document.createElement('script');
qc.async = true;
qc.src = (ssl ? 'https://secure' : 'http://edge') +
'.quantserve.com/quant.js';
s.parentNode.insertBefore(qc, s);
_qevents.push({ qacct: "p-c1rF4kxgLUzNc" });
/**/
var sc = document.createElement('script');
sc.async = true;
sc.src = (ssl ? 'https://sb' : 'http://b') +
'.scorecardresearch.com/beacon.js';
s.parentNode.insertBefore(sc, s);
_comscore.push({ c1: "2", c2: "17440561" });
})();

</script>

</body></html>

S-ar putea să vă placă și