<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>looping statements in c - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/looping-statements-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/looping-statements-in-c/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 03 Sep 2021 06:08:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>looping statements in c - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/looping-statements-in-c/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>The construct “if (condition) then A else B” is used for which of the following purposes ?</title>
		<link>https://www.wikitechy.com/interview-questions/recursion-and-iteration/the-construct-if-condition-then-a-else-b-is-used-for-which-of-the-following-purposes/</link>
					<comments>https://www.wikitechy.com/interview-questions/recursion-and-iteration/the-construct-if-condition-then-a-else-b-is-used-for-which-of-the-following-purposes/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sat, 28 Aug 2021 17:17:58 +0000</pubDate>
				<category><![CDATA[Recursion and Iteration]]></category>
		<category><![CDATA[decision making and branching in c]]></category>
		<category><![CDATA[decision making and looping in c]]></category>
		<category><![CDATA[decision making statement program]]></category>
		<category><![CDATA[decision making statements]]></category>
		<category><![CDATA[decision making statements in c]]></category>
		<category><![CDATA[decision making statements in c with examples]]></category>
		<category><![CDATA[if else statement in c]]></category>
		<category><![CDATA[if statement in c]]></category>
		<category><![CDATA[looping statements in c]]></category>
		<category><![CDATA[switch statement in c++]]></category>
		<category><![CDATA[TCS Ninja Coding Questions with Answers | TCS Ninja Coding Questions 2021 | TCS Ninja Programming MCQ Questions]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2648</guid>

					<description><![CDATA[Answer : A. Decision making]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">The construct “if (condition) then A else B” is used for which of the following purposes ?</p>
<div class="row">
<div class="col-sm-6">
<p>A. Decision making</p>
</div>
<div class="col-sm-6">
<p>B. Iteration</p>
</div>
<div class="col-sm-6">
<p>C. Recursion</p>
</div>
<div class="col-sm-6">
<p>D. Object oriented programming</p>
</div>
</div>
</div>
</div>
<h3 id="answer-a-decision-making"><b>Answer : </b>A. Decision making</h3>
<div class="subheading">
<h2 id="explanation">Explanation:</h2>
</div>
<div class="subheading">
<h2 id="if-else-for-decision-making" class="color-green">If-Else for Decision Making:</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>The if statement alone tells us that if a condition is true it will execute a block of statements and if the condition is false it won’t. But what if we want to do something else if the condition is false. Here comes the else statement. We can use the else statement with if statement to execute a block of code when the condition is false.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/recursion-and-iteration/the-construct-if-condition-then-a-else-b-is-used-for-which-of-the-following-purposes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
