<?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>Tech Mahindr interview questions and answers - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/tech-mahindr-interview-questions-and-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/tech-mahindr-interview-questions-and-answers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Tue, 14 Sep 2021 06:23:08 +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>Tech Mahindr interview questions and answers - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/tech-mahindr-interview-questions-and-answers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Why Some Application on Windows Platform is Working Very Slowly ?</title>
		<link>https://www.wikitechy.com/interview-questions/windows/why-some-application-on-windows-platform-is-working-very-slowly/</link>
					<comments>https://www.wikitechy.com/interview-questions/windows/why-some-application-on-windows-platform-is-working-very-slowly/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 07:52:05 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[10 steps to speed up a slow Windows PC]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Apostek Software Interview Questions and Answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[check computer performance windows 10]]></category>
		<category><![CDATA[computer running slow windows 10]]></category>
		<category><![CDATA[computer running slow windows 7]]></category>
		<category><![CDATA[computer slow to open programs windows 7]]></category>
		<category><![CDATA[CSC interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Genpact Headstrong Capital Markets interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[HCL Technologies interview questions and answers]]></category>
		<category><![CDATA[how to make programs open and run faster]]></category>
		<category><![CDATA[how to make windows 10 run faster]]></category>
		<category><![CDATA[how to speed up windows 7 startup]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[links open slow windows 10]]></category>
		<category><![CDATA[Microland interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NCR Corporation interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Opentext Technologies interview questions and answers]]></category>
		<category><![CDATA[optimize windows 10 performance]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[performance troubleshooter windows 7]]></category>
		<category><![CDATA[programs open slowly windows 7]]></category>
		<category><![CDATA[programs take a long time to open windows 7]]></category>
		<category><![CDATA[programs take forever to open]]></category>
		<category><![CDATA[programs taking a long time to open windows 10]]></category>
		<category><![CDATA[programs taking a long time to open windows 10 2017]]></category>
		<category><![CDATA[Sparsh BPO Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Sutherland Global Services interview questions and answers]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[windows 10 apps take forever to load]]></category>
		<category><![CDATA[windows 10 command prompt slow to open]]></category>
		<category><![CDATA[windows 10 programs open slowly]]></category>
		<category><![CDATA[windows 10 running slow 2017]]></category>
		<category><![CDATA[windows 10 running slow 2018]]></category>
		<category><![CDATA[windows 10 settings slow to open]]></category>
		<category><![CDATA[windows 10 slow application launch]]></category>
		<category><![CDATA[windows 10 slow to open apps]]></category>
		<category><![CDATA[windows 10 slow to open programs]]></category>
		<category><![CDATA[windows 10 very slow and unresponsive]]></category>
		<category><![CDATA[windows 10 very slow and unresponsive 2018]]></category>
		<category><![CDATA[windows 10 very slow startup]]></category>
		<category><![CDATA[windows 8 very slow to open programs]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1219</guid>

					<description><![CDATA[Answer : There are various errors in windows platform they are...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading" style="text-align: justify;"></div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>There are various <a href="https://www.wikitechy.com/technology/fix-100-disk-usage-error-windows-10/" target="_blank" rel="noopener">errors in windows</a> platform they are:</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li>Processor overheating</li>
<li>Bad <a href="https://www.wikitechy.com/technology/change-ram-laptop/" target="_blank" rel="noopener">RAM</a></li>
<li><a href="https://www.wikitechy.com/technology/fix-100-disk-usage-error-windows-10/" target="_blank" rel="noopener">Hard disk issues</a></li>
<li>File system issues and display options</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="processor-overheating" class="color-blue">Processor overheating</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Recently Chipmakers have been working to make processors more effective, which means they generate less heat.</li>
<li>Now some modern processors still produce a lot of heat.</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li>Dust is preventing the fan from spinning smoothly.</li>
<li>The fan motor has failed.</li>
<li>The fan bearings are loose and jiggling.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="bad-ram" class="color-blue">Bad RAM</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Several conditions can lead to RAM-related performance problems with a particular machine:</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li><a href="https://www.wikitechy.com/tutorials/ethical-hacking/computer-hacking-tutorial/how-to-use-usb-drive-as-ram-to-increase-computer-speed" target="_blank" rel="noopener">RAM</a> timing is slower than optimal machine spec.</li>
<li>RAM has minor faults that appear only on detailed testing.</li>
<li><a href="https://www.wikitechy.com/technology/5-best-ways-to-clear-ram-on-android/" target="_blank" rel="noopener">RAM</a> is overheating.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="hard-disk-issues" class="color-blue">Hard disk issues</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Slow access times on the affected drive.</li>
<li>An increasing number of bad sectors when running scandisk.</li>
<li>Unexplained Blue Screens.</li>
<li>Intermittent boot failures.</li>
<li>An &#8220;Imminent Hard Disk Failure&#8221; warning.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="file-system-issues-and-display-options" class="color-blue">File system issues and display options</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Some file systems work better than others for large disk dividers. <a href="https://www.wikitechy.com/technology/remove-windows-password/" target="_blank" rel="noopener">Windows 7</a> should always use the NTFS file system for best performance.</li>
<li>Cleaning up the file system will also help speed performance. We can use the <a href="https://www.wikitechy.com/technology/10-handy-tips-tools-keep-mac-clean/" target="_blank" rel="noopener">Disk Clean-up tool</a> to:</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li>Remove temporary Internet files.</li>
<li>Remove downloaded program files (such as Microsoft ActiveX controls and <a href="https://www.wikitechy.com/tutorials/java/java-tutorial" target="_blank" rel="noopener">Java</a> applets).</li>
<li>Remove the Recycle Bin.</li>
<li>Remove Windows temporary files such as error reports.</li>
<li>Remove optional Windows components we don&#8217;t use.</li>
<li>Remove installed programs you no longer use.</li>
<li>Remove unused restore points and shadow copies from <a href="https://www.wikitechy.com/technology/create-restore-point-windows-10/" target="_blank" rel="noopener">System Restore</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To run Disk Clean-up in Windows 7, click Start and type &#8220;Disk Clean-up&#8221; in the search box. Select the drive you want to clean up.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="how-to-solve-this-problem" class="color-green">How to solve this Problem :</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Windows have corrupted in many problems we have use below steps, to overcome this issues.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="step-1-clean-boot" class="color-purple">Step 1: Clean boot</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>It will start Windows by using a minimum set of drivers and start up programs.</li>
<li>It will also eliminate software conflicts that could occur when you install a program, or an <a href="https://www.wikitechy.com/technology/disable-automatic-restart-windows-update/" target="_blank" rel="noopener">update</a> , or when you run a program in Windows.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="step-2-reset-windows-update-components" class="color-purple">Step 2: Reset Windows Update Components</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>These are services that Windows Update needs to make sure it&#8217;s working effectively.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="step-3-perform-corruption-fix-tools" class="color-purple">Step 3: Perform corruption fix tools</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Using <a href="https://www.wikitechy.com/technology/enable-copy-paste-cmd-windows/windows-10-command-prompt/" target="_blank" rel="noopener">Command Prompt</a> running as Administrator, we can perform these commands that can fix issues on our system itself,</li>
</ul>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs" data-lang=""><span class="nt"><strong>CHKDSK /R 
SFC /SCANNOW
DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH</strong>  </span></code></pre>
</figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/windows/why-some-application-on-windows-platform-is-working-very-slowly/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the output of this C code ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/what-is-the-output-of-this-c-code/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/what-is-the-output-of-this-c-code/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 21:16:29 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[algorithm for switch case in c]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c program for switch case using function]]></category>
		<category><![CDATA[C programming switch case examples]]></category>
		<category><![CDATA[C programming switch case Examples/Programs]]></category>
		<category><![CDATA[C programming switch case Programs]]></category>
		<category><![CDATA[C switch case Statement]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[How does the switch and break work in C]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Java switch Statement]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Program for Switch Case with and without break statement]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[switch case]]></category>
		<category><![CDATA[switch case c]]></category>
		<category><![CDATA[switch case example in c]]></category>
		<category><![CDATA[switch case exercises in c]]></category>
		<category><![CDATA[switch case in c programming examples]]></category>
		<category><![CDATA[switch case in c programming questions]]></category>
		<category><![CDATA[switch case program in c]]></category>
		<category><![CDATA[switch case statement in C Programming]]></category>
		<category><![CDATA[switch caseswitch case statement in C Programming]]></category>
		<category><![CDATA[switch statement in c++]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[What is switch condition]]></category>
		<category><![CDATA[while c programming]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=341</guid>

					<description><![CDATA[Answer : D. Error]]></description>
										<content:encoded><![CDATA[<h3 id="what-is-the-output-of-this-c-code">What is the output of this C code ?</h3>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">Function main() {<br/>  integer a = 5, b = 7<br/>  Switch(a) {<br/>    Case 5: print &quot;I am 5&quot;<br/>    Break<br/>    Case b: print &quot;I am not 5&quot;<br/>    Break<br/>    Default: print &quot;I am different&quot;<br/>  }<br/>}</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<div class="row">
<div class="col-sm-4">
<p>A. I am 5</p>
</div>
<div class="col-sm-4">
<p>B. I am not 5</p>
</div>
<div class="col-sm-4">
<p>C. I am different</p>
</div>
<div class="col-sm-4">
<p>D. Error</p>
</div>
<div class="col-sm-4">
<p>E. None of these</p>
</div>
</div>
</div>
</div>
<h3 id="answer-d-error"><b>Answer : </b>D. Error<u></u></h3>
<div class="subheading">
<h2 id="explanation">Explanation:</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Break doesn’t have &#8220;;&#8221; (Semi Colon missing in break command)</li>
</ul>
</div>
</div>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/what-is-the-output-of-this-c-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to find LCM of two Numbers in C ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/how-to-find-lcm-of-two-numbers-in-c/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/how-to-find-lcm-of-two-numbers-in-c/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 21:04:03 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[algorithm to find lcm of n numbers]]></category>
		<category><![CDATA[algorithm to find lcm of two numbers]]></category>
		<category><![CDATA[algorithm to find lcm of two numbers in c]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c program to find hcf of two numbers]]></category>
		<category><![CDATA[c program to find lcm of 2 numbers]]></category>
		<category><![CDATA[c program to find lcm of 3 numbers]]></category>
		<category><![CDATA[c program to find lcm of 3 numbers in c]]></category>
		<category><![CDATA[c program to find lcm of 3 numbers using functions]]></category>
		<category><![CDATA[c program to find lcm of 3 numbers using recursion]]></category>
		<category><![CDATA[c program to find lcm of n numbers]]></category>
		<category><![CDATA[c program to find lcm of two numbers using recursion]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[find lcm]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[flowchart to find lcm of two numbers]]></category>
		<category><![CDATA[flowchart to find lcm of two numbers in c]]></category>
		<category><![CDATA[gcd and lcm in c]]></category>
		<category><![CDATA[hcf and lcm formulas]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[how to do lcm]]></category>
		<category><![CDATA[how to find lcm]]></category>
		<category><![CDATA[how to find lcm of 3 numbers in c++]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[lcm examples]]></category>
		<category><![CDATA[lcm finder]]></category>
		<category><![CDATA[lcm formula]]></category>
		<category><![CDATA[lcm method]]></category>
		<category><![CDATA[lcm of 12 and 18]]></category>
		<category><![CDATA[lcm of 3 numbers]]></category>
		<category><![CDATA[lcm of 3 numbers in c using function]]></category>
		<category><![CDATA[lcm of 6 and 8]]></category>
		<category><![CDATA[lcm of fractions]]></category>
		<category><![CDATA[lcm of n numbers formula]]></category>
		<category><![CDATA[lcm of n numbers in python]]></category>
		<category><![CDATA[lcm of two numbers in c++]]></category>
		<category><![CDATA[lcm of two numbers in java]]></category>
		<category><![CDATA[lcm program in clcm meaning]]></category>
		<category><![CDATA[lcm questions]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[program to find lcm of 3 numbers]]></category>
		<category><![CDATA[program to find lcm of 3 numbers in java]]></category>
		<category><![CDATA[program to find lcm of n numbers in java]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[telibrahma interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[what is lcm]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=339</guid>

					<description><![CDATA[Answer : The LCM of two numbers a and b is the smallest positive integer that is perfectly divisible...]]></description>
										<content:encoded><![CDATA[<h2 id="to-find-lcm-of-two-numbers-in-c" class="color-pink" style="text-align: justify;">To Find LCM of Two Numbers in C</h2>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The LCM of two numbers a and b is the smallest positive integer that is perfectly divisible by both a and b (without a remainder). For example: The LCM of 72 and 120 is 360.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<h2 id="sample-code" class="color-blue" style="text-align: justify;">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include &lt;stdio.h&gt; <br/>// Recursive function to return gcd of a and b<br/>int gcd(int a, int b)<br/>{<br/>// Everything divides 0<br/>    if (a == 0 || b == 0)<br/>        return 0;<br/>// Base case<br/>    if (a == b)<br/>        return a;<br/>// a is greater<br/>    if (a &gt; b)<br/>        return gcd(a-b, b);<br/>    return gcd(a, b-a);<br/>}<br/>// Function to return LCM of two numbers<br/>int lcm(int a, int b)<br/>{<br/>    return (a*b)/gcd(a, b);<br/>}<br/>// Driver program to test above function<br/>int main()<br/>{<br/>    int a = 10, b = 28;<br/>    printf(&quot;LCM of %d and %d is %d &quot;, a, b, lcm(a, b));<br/>    return 0;<br/>}</code></pre> </div>
<h2 id="output" class="color-blue" style="text-align: justify;">Output</h2>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">LCM of 10 and 28 is 140</code></pre> </div></figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/how-to-find-lcm-of-two-numbers-in-c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Explain Call by Reference in C language ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/explain-call-by-reference-in-c-language/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/explain-call-by-reference-in-c-language/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:50:02 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[C Call by Reference: Using pointers]]></category>
		<category><![CDATA[C++ function call by reference]]></category>
		<category><![CDATA[call by reference]]></category>
		<category><![CDATA[call by reference definition]]></category>
		<category><![CDATA[Call By Reference Example C Program]]></category>
		<category><![CDATA[call by reference in c without pointers]]></category>
		<category><![CDATA[call by reference in c++]]></category>
		<category><![CDATA[call by reference in java]]></category>
		<category><![CDATA[call by value and call by reference]]></category>
		<category><![CDATA[Call by Value and Call by Reference in C]]></category>
		<category><![CDATA[call by value and call by reference in c with example]]></category>
		<category><![CDATA[call by value and call by reference in java]]></category>
		<category><![CDATA[Call by vlaue]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[define call by reference]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between call by value and call by reference]]></category>
		<category><![CDATA[Difference Between Call by Value and Reference in C]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Function call by reference in C]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[plintron interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[what is call by reference]]></category>
		<category><![CDATA[What is function call by reference]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=335</guid>

					<description><![CDATA[Answer : In call by reference, original value is modified...]]></description>
										<content:encoded><![CDATA[<h2 id="explain-call-by-reference-in-c-language" class="color-pink" style="text-align: justify;">Explain Call by Reference in C language ?</h2>
<div class="subheading" style="text-align: justify;">
<h2 id="call-by-value">Call by value</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>In call by reference, original value is modified because we pass reference (address).</li>
<li>Here, address of the value is passed in the function, so actual and formal arguments shares the same address space. Hence, value changed inside the function, is reflected inside as well as outside the function.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="subheading" style="text-align: justify;">
<h2 id="sample-code" class="color-green">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include&lt;stdio.h&gt;<br/>void change(int *num) <br/>{    <br/>    printf(&quot;Before adding value inside function num=%d \n&quot;,*num);    <br/>    (*num) += 100;    <br/>    printf(&quot;After adding value inside function num=%d \n&quot;, *num);    <br/>}      <br/>int main() <br/>{    <br/>    int x=100;    <br/>    printf(&quot;Before function call x=%d \n&quot;, x);    <br/>    change(&amp;x);    <br/>    printf(&quot;After function call x=%d \n&quot;, x);    <br/>    return 0;  <br/>} </code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-green">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">Before function call x=100<br/>Before adding value inside function num=100<br/>After adding value inside function num=200<br/>After function call x=200</code></pre> </div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/explain-call-by-reference-in-c-language/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Explain Call by Value in C language ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/explain-call-by-value-in-c-language/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/explain-call-by-value-in-c-language/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:43:35 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[C Program to Implement Call By Value using Functions]]></category>
		<category><![CDATA[call by reference program in c]]></category>
		<category><![CDATA[call by value]]></category>
		<category><![CDATA[call by value and call by reference]]></category>
		<category><![CDATA[Call by Value and Call by Reference in C]]></category>
		<category><![CDATA[call by value and call by reference in c language in hindi]]></category>
		<category><![CDATA[call by value and call by reference in java]]></category>
		<category><![CDATA[call by value and call by reference program in c]]></category>
		<category><![CDATA[call by value c++]]></category>
		<category><![CDATA[call by value definition]]></category>
		<category><![CDATA[call by value example]]></category>
		<category><![CDATA[call by value in c]]></category>
		<category><![CDATA[call by value in java]]></category>
		<category><![CDATA[call by value program in c]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[describe call by value function]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between call by value and call by reference]]></category>
		<category><![CDATA[Difference Between Call by Value and Reference in C]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[function call by value]]></category>
		<category><![CDATA[Function call by Value in C]]></category>
		<category><![CDATA[Function call by value in C programming]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[plintron interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[what is call by value]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=332</guid>

					<description><![CDATA[Answer : In call by value, original value is not modified...]]></description>
										<content:encoded><![CDATA[<h2 id="explain-call-by-value-in-c-language" class="color-pink" style="text-align: justify;">Explain Call by Value in C language ?</h2>
<div class="subheading" style="text-align: justify;">
<h2 id="call-by-value">Call by value</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>In call by value, original value is not modified.</li>
<li>In call by value, value being passed to the function is locally stored by the function parameter in stack memory location. If you change the value of function parameter, it is changed for the current function only.</li>
<li>It will not change the value of variable inside the caller method such as main().</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="subheading" style="text-align: justify;">
<h2 id="sample-code" class="color-green">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include&lt;stdio.h&gt;<br/>void change(int num) <br/>{    <br/>    printf(&quot;Before adding value inside function num=%d \n&quot;,num);    <br/>    num=num+100;    <br/>    printf(&quot;After adding value inside function num=%d \n&quot;, num);    <br/>}    <br/>int main() <br/>{    <br/>    int x=100;    <br/>    printf(&quot;Before function call x=%d \n&quot;, x);    <br/>    change(x);//passing value in function    <br/>    printf(&quot;After function call x=%d \n&quot;, x);    <br/>    return 0;  <br/>} </code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-green">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">Before function call x=100 <br/>Before adding value inside function num=100<br/>After adding value inside function num=200<br/>After function call x=100</code></pre> </div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/explain-call-by-value-in-c-language/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Write a program without using library functions ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/write-a-program-without-using-library-functions/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/write-a-program-without-using-library-functions/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:38:18 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c program for string concatenation without using strcat]]></category>
		<category><![CDATA[C Program to Concat Two Strings without Using Library Function]]></category>
		<category><![CDATA[C program to copy one string into another]]></category>
		<category><![CDATA[C program to copy one string into other string without using]]></category>
		<category><![CDATA[C Program to Copy One String into Other Without Using Library Function]]></category>
		<category><![CDATA[C program to copy one string to another string]]></category>
		<category><![CDATA[c program to copy one string to another using functions]]></category>
		<category><![CDATA[c program to copy one string to another using strcpy]]></category>
		<category><![CDATA[C program to Copy String without using strcpy()]]></category>
		<category><![CDATA[C program to copy string without using strcpy() function]]></category>
		<category><![CDATA[c program to perform string operations without using built in functions]]></category>
		<category><![CDATA[C string manipulation programs/examples without using Library]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Copy one string into another string]]></category>
		<category><![CDATA[copy one string to another in c++ without using strcpy]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[plintron interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[string copy in c using pointersstring copy in c without using strcpy using pointers]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[write a c program to read two strings and concatenate them]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=330</guid>

					<description><![CDATA[Answer : C Standard library functions are inbuilt functions in C programming...]]></description>
										<content:encoded><![CDATA[<h2 id="write-a-program-without-using-library-functions" class="color-pink" style="text-align: justify;">Write a program without using library functions ?</h2>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>C Standard library functions or simply <a href="https://www.wikitechy.com/tutorials/c-programming/c-library-and-user-define-functions" target="_blank" rel="noopener">C Library functions</a> are inbuilt functions in C programming.</li>
<li>The prototype and data definitions of the functions are present in their respective header files, and must be included in your program to access them.</li>
<li>If you want to use printf() function, the header file &lt;stdio.h&gt; should be included. For example,</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="copy-string-manually-without-using-strcpy" class="color-green">Copy String Manually Without Using strcpy()</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>In this C Program we have to copy the string without using library functions.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="sample-code" class="color-purple">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include &lt;stdio.h&gt;<br/>int main()<br/>{<br/>    char str1[100], str2[100], j;<br/><br/>    printf(&quot;Enter the string str1: &quot;);<br/>    scanf(&quot;%s&quot;,str1);<br/><br/>    for(j = 0; str1[j] != &#039;\0&#039;; ++j)<br/>    {<br/>        str2[j] = str1[j];<br/>    }<br/><br/>    str2[j] = &#039;\0&#039;;<br/>    printf(&quot;String str2: %s&quot;, str2);<br/><br/>    return 0;<br/>}</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">Enter the String str1: Wikitechy<br/> String str2: Wikitechy</code></pre> </div></figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/write-a-program-without-using-library-functions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Pattern programs in C ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/pattern-programs-in-c/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/pattern-programs-in-c/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:26:13 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[alphabet and star pattern programs in c]]></category>
		<category><![CDATA[alphabet diamond pattern in c]]></category>
		<category><![CDATA[alphabet pattern programs in c]]></category>
		<category><![CDATA[alphabet pattern programs in c using for loop]]></category>
		<category><![CDATA[alphabet pyramid pattern programs in c]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Barracuda Networks Interview Questions and Answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c program for different patterns]]></category>
		<category><![CDATA[c program to print patterns]]></category>
		<category><![CDATA[c program to print patterns of numbers]]></category>
		<category><![CDATA[c programming]]></category>
		<category><![CDATA[c programming language]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[cstar programme]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Diamond pattern programs in c]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[how to print in c]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[java program to print pattern of numbers]]></category>
		<category><![CDATA[java program to print patterns of numbers and stars]]></category>
		<category><![CDATA[loop pattern]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[number pattern programs in c]]></category>
		<category><![CDATA[number pattern programs in c with explanation]]></category>
		<category><![CDATA[number patterns in c]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[pattern code]]></category>
		<category><![CDATA[pattern generation in c]]></category>
		<category><![CDATA[pattern printing in c]]></category>
		<category><![CDATA[pattern programs in c]]></category>
		<category><![CDATA[pattern programs in cpattern programs in c++]]></category>
		<category><![CDATA[pattern programs in java]]></category>
		<category><![CDATA[patterns in c]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[print pattern]]></category>
		<category><![CDATA[programming patterns]]></category>
		<category><![CDATA[pyramid pattern]]></category>
		<category><![CDATA[pyramid program in c]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[reverse a string in c]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[star pattern]]></category>
		<category><![CDATA[star pattern in c]]></category>
		<category><![CDATA[star pattern programs in c]]></category>
		<category><![CDATA[star pattern programs in c with explanation]]></category>
		<category><![CDATA[star pattern programs in java]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[telibrahma interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[toughest pattern programs in c]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=323</guid>

					<description><![CDATA[Answer : Pattern programs in C print various patterns of numbers and stars...]]></description>
										<content:encoded><![CDATA[<h2 id="pattern-programs-in-c" class="color-pink" style="text-align: justify;">Pattern programs in C ?</h2>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Pattern programs in C print various patterns of numbers and stars. These codes explain how to create various patterns using C programming. The C programs involve usage of <a href="https://www.wikitechy.com/technology/breaking-nested-loops-java/" target="_blank" rel="noopener">nested for loops</a> (a for loop inside a for loop).</li>
<li>A pattern of numbers, star or characters is a way of arranging these in some logical manner or they may form a sequence. Some of these patterns are triangles which have special importance in mathematics.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="example-1" class="color-blue">Example 1</h2>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="sample-code-in-c" class="color-green">Sample Code in C:</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include &lt;stdio.h&gt;<br/>int main()<br/>{<br/>    int i, space, rows, k=0;<br/><br/>    printf(&quot;Enter number of rows: &quot;);<br/>    scanf(&quot;%d&quot;,&amp;rows);<br/><br/>    for(i=1; i&lt;=rows; ++i, k=0)<br/>    {<br/>        for(space=1; space&lt;=rows-i; ++space)<br/>        {<br/>            printf(&quot;  &quot;);<br/>        }<br/><br/>        while(k != 2*i-1)<br/>        {<br/>            printf(&quot;* &quot;);<br/>            ++k;<br/>        }<br/><br/>        printf(&quot;\n&quot;);<br/>    }<br/>    <br/>    return 0;<br/>}</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>Enter number of rows : 5</ul>
</div>
</div>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">        *<br/>      * * *<br/>    * * * * *<br/>  * * * * * * *<br/>* * * * * * * * *</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="example-2" class="color-blue">Example 2</h2>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-in-c-2" class="color-green">Sample Code in C:</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include &lt;stdio.h&gt;<br/>int main()<br/>{<br/>    int i, space, rows, k=0, count = 0, count1 = 0;<br/><br/>    printf(&quot;Enter number of rows: \n&quot;);<br/>    scanf(&quot;%d&quot;,&amp;rows);<br/><br/>    for(i=1; i&lt;=rows; ++i)<br/>    {<br/>        for(space=1; space &lt;= rows-i; ++space)<br/>        {<br/>            printf(&quot;  &quot;);<br/>            ++count;<br/>        }<br/><br/>        while(k != 2*i-1)<br/>        {<br/>            if (count &lt;= rows-1)<br/>            {<br/>                printf(&quot;%d &quot;, i+k);<br/>                ++count;<br/>            }<br/>            else<br/>            {<br/>                ++count1;<br/>                printf(&quot;%d &quot;, (i+k-2*count1));<br/>            }<br/>            ++k;<br/>        }<br/>        count1 = count = k = 0;<br/><br/>        printf(&quot;\n&quot;);<br/>    }<br/>    return 0;<br/>}</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output-2" class="color-purple">Output</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>Enter number of rows : 5</ul>
</div>
</div>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">         1 <br/>      2 3 2 <br/>    3 4 5 4 3 <br/>  4 5 6 7 6 5 4 <br/>5 6 7 8 9 8 7 6 5</code></pre> </div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/pattern-programs-in-c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between data structure and database ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/difference-between-data-structure-and-database/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/difference-between-data-structure-and-database/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:16:23 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[data model vs data structure]]></category>
		<category><![CDATA[Data Structure VS Database]]></category>
		<category><![CDATA[data structures and sql]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Databases vs. Data Structures]]></category>
		<category><![CDATA[DBMS & Data Structure]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between data and data structure]]></category>
		<category><![CDATA[difference between data and data structure in tabular form]]></category>
		<category><![CDATA[Difference between data structure and data base]]></category>
		<category><![CDATA[difference between database and data structure?]]></category>
		<category><![CDATA[difference between database and database management system]]></category>
		<category><![CDATA[difference between dbms and ddbms]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Difference Between a Database and a Data Warehouse]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[what is relation between dbms and data structure]]></category>
		<category><![CDATA[What is the difference between a database and data structure]]></category>
		<category><![CDATA[what is the difference between data and database]]></category>
		<category><![CDATA[What is the difference between data base and data structures?]]></category>
		<category><![CDATA[Zoho Interview Questions and Answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=321</guid>

					<description><![CDATA[Answer : Data Structure is about storing data...
]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-data-structure-and-database" class="color-pink" style="text-align: justify;">Difference between data structure and database ?</h2>
</div>
</div>
<div class="Content table-responsive">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr style="text-align: justify;">
<th>Data Structure</th>
<th>Database</th>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">Data Structure is about storing data<br />
or handling data into RAM or Temporary Memory.</td>
<td class="text-leftalign">Database is concept or tool which store &amp; handle data at permanent memory location (Hard Drive).</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">Data structure is not permanent storage.<br />
It is alive till the program is alive. But we can use the<br />
different data structure to add data into database.</td>
<td class="text-leftalign">We can use Database to store Data Structure containing process data at the end of any process .</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">Data structure is the memory.</td>
<td class="text-leftalign">Database is Storage in computer.</td>
</tr>
<tr>
<td class="text-leftalign" style="text-align: justify;">Data structure is voltile memory.</td>
<td class="text-leftalign" style="text-align: justify;">Database is non-volatile memory.</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/difference-between-data-structure-and-database/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to count alphabets, numeric and special characters ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/how-to-count-alphabets-numeric-and-special-characters/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/how-to-count-alphabets-numeric-and-special-characters/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:12:46 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c program to check special characters]]></category>
		<category><![CDATA[c program to count number of characters in a string]]></category>
		<category><![CDATA[c program to count number of words spaces characters digits and special symbols]]></category>
		<category><![CDATA[c program to find special characters in string]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[number or special character in c++]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[write a c program to check whether a character is uppercase or lowercase alphabet]]></category>
		<category><![CDATA[write a c program to check whether an alphabet is a vowel or consonant]]></category>
		<category><![CDATA[write a program to check whether an input character is digit or not]]></category>
		<category><![CDATA[write a program to check whether the given input is alphabet]]></category>
		<category><![CDATA[ziynx interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=319</guid>

					<description><![CDATA[Answer : In this example, we have to count digits, spaces, special...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-count-alphabets-numeric-and-special-characters" class="color-pink" style="text-align: justify;">How to count alphabets, numeric and special characters ?</h2>
</div>
</div>
<p style="text-align: justify;">In this example, we have to count digits, spaces, special characters and alphabets using C program.</p>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include &lt;stdio.h&gt;<br/> <br/>int main()<br/>{<br/>    char    str[100];<br/>    int countDigits,countAlphabet,countSpecialChar,countSpaces;<br/>    int counter;<br/> <br/>    //assign all counters to zero<br/>    countDigits=countAlphabet=countSpecialChar=countSpaces=0;<br/> <br/>    printf(&quot;Enter a string: &quot;);<br/>    gets(str);<br/> <br/>    for(counter=0;str[counter]!=NULL;counter++)<br/>    {<br/> <br/>        if(str[counter]&gt;=&#039;0&#039; &amp;&amp; str[counter]&lt;=&#039;9&#039;)<br/>            countDigits++;<br/>        else if((str[counter]&gt;=&#039;A&#039; &amp;&amp; str[counter]&lt;=&#039;Z&#039;)||(str[counter]&gt;=&#039;a&#039; &amp;&amp; str[counter]&lt;=&#039;z&#039;))<br/>            countAlphabet++;<br/>        else if(str[counter]==&#039; &#039;)<br/>            countSpaces++;<br/>        else<br/>            countSpecialChar++;<br/>    }<br/> <br/>    printf(&quot;\nDigits: %d \nAlphabets: %d \nSpaces: %d \nSpecial Characters: %d&quot;,countDigits,countAlphabet,countSpaces,countSpecialChar);<br/> <br/>    return 0;<br/>}</code></pre> </div>
<h2 id="output" class="color-pink" style="text-align: justify;">Output :</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">Enter a string: wikitechy, 789@#%12.<br/><br/>Digits: 5<br/>Alphabets: 9<br/>Spaces: 1<br/>Special Characters: 5</code></pre> </div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/how-to-count-alphabets-numeric-and-special-characters/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to convert hexadecimal to binary using c language ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/how-to-convert-hexadecimal-to-binary-using-c-language/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/how-to-convert-hexadecimal-to-binary-using-c-language/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:08:14 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[9 in hexadecimal]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[algorithm to convert binary number to decimal number]]></category>
		<category><![CDATA[algorithm to convert decimal to hexadecimal]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[binary to hexadecimal in c]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c program to convert decimal to hexadecimal using while loop]]></category>
		<category><![CDATA[c program to convert hexadecimal to decimal]]></category>
		<category><![CDATA[c program to convert hexadecimal to decimal and vice versa]]></category>
		<category><![CDATA[c program to convert hexadecimal to octal]]></category>
		<category><![CDATA[c program to find binary equivalent of a number]]></category>
		<category><![CDATA[c++ program to convert hexadecimal to binary]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[decimal to binary in c]]></category>
		<category><![CDATA[decimal to hex]]></category>
		<category><![CDATA[decimal to hexadecimal converter]]></category>
		<category><![CDATA[decimal to hexadecimal in c]]></category>
		<category><![CDATA[decimal to hexadecimal in c without using array]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[hex a0 to decimal]]></category>
		<category><![CDATA[hex calculator]]></category>
		<category><![CDATA[hex string to binary c]]></category>
		<category><![CDATA[hex to decimal]]></category>
		<category><![CDATA[hex to decimal chart]]></category>
		<category><![CDATA[hex to decimal converter]]></category>
		<category><![CDATA[hex to decimal in embedded c]]></category>
		<category><![CDATA[hexadecimal number system]]></category>
		<category><![CDATA[hexadecimal to decimal convertehex to decimal]]></category>
		<category><![CDATA[hexadecimal to octal converter]]></category>
		<category><![CDATA[hexadecimal to word converter]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[simple c program to convert hexadecimal to binary]]></category>
		<category><![CDATA[simple c program to convert hexadecimal to decimal]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[write a c program to convert hexadecimal number to binary number]]></category>
		<category><![CDATA[zenqa interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=317</guid>

					<description><![CDATA[Answer : To convert hexadecimal to binary using c language...]]></description>
										<content:encoded><![CDATA[<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">#include&lt;stdio.h&gt;<br/>#include&lt;conio.h&gt;<br/>void main()<br/>{<br/>	clrscr();<br/>	long int i=0;<br/>	char binarynum[100], hexdec[100];<br/>	printf(&quot;Enter Hexadecimal Value : &quot;);<br/>	scanf(&quot;%s&quot;,hexdec);<br/>	printf(&quot;\nEqual Binary value is : &quot;);<br/>	while(hexdec[i])<br/>	{<br/>		switch(hexdec[i])<br/>		{<br/>			case &#039;0&#039; : printf(&quot;0000&quot;);<br/>				break;<br/>			case &#039;1&#039; : printf(&quot;0001&quot;);<br/>				break;<br/>			case &#039;2&#039; : printf(&quot;0010&quot;);<br/>				break;<br/>			case &#039;3&#039; : printf(&quot;0011&quot;);<br/>				break;<br/>			case &#039;4&#039; : printf(&quot;0100&quot;);<br/>				break;<br/>			case &#039;5&#039; : printf(&quot;0101&quot;);<br/>				break;<br/>			case &#039;6&#039; : printf(&quot;0110&quot;);<br/>				break;<br/>			case &#039;7&#039; : printf(&quot;0111&quot;);<br/>				break;<br/>			case &#039;8&#039; : printf(&quot;1000&quot;);<br/>				break;<br/>			case &#039;9&#039; : printf(&quot;1001&quot;);<br/>				break;<br/>			case &#039;A&#039; : printf(&quot;1010&quot;);<br/>				break;<br/>			case &#039;B&#039; : printf(&quot;1011&quot;);<br/>				break;<br/>			case &#039;C&#039; : printf(&quot;1100&quot;);<br/>				break;<br/>			case &#039;D&#039; : printf(&quot;1101&quot;);<br/>				break;<br/>			case &#039;E&#039; : printf(&quot;1110&quot;);<br/>				break;<br/>			case &#039;F&#039; : printf(&quot;1111&quot;);<br/>				break;<br/>			case &#039;a&#039; : printf(&quot;1010&quot;);<br/>				break;<br/>			case &#039;b&#039; : printf(&quot;1011&quot;);<br/>				break;<br/>			case &#039;c&#039; : printf(&quot;1100&quot;);<br/>				break;<br/>			case &#039;d&#039; : printf(&quot;1101&quot;);<br/>				break;<br/>			case &#039;e&#039; : printf(&quot;1110&quot;);<br/>				break;<br/>			case &#039;f&#039; : printf(&quot;1111&quot;);<br/>				break;<br/>			default : printf(&quot;\nInvalid hexadecimal digit %c&quot;,hexdec[i]);<br/>		}<br/>		i++;<br/>	}<br/>	getch();<br/>}</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">Enter Hexadecimal Value : AB1c <br/>Equal Binary value is : 1010101100011100</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="explanation" class="color-green">Explanation:</h2>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="hexadecimal-and-binary-values" class="color-pink">Hexadecimal and Binary Values</h2>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Hex</th>
<th>Decimal</th>
<th>Binary</th>
</tr>
<tr>
<td class="text-leftalign">0</td>
<td class="text-leftalign">0</td>
<td class="text-leftalign">0000</td>
</tr>
<tr>
<td class="text-leftalign">1</td>
<td class="text-leftalign">1</td>
<td class="text-leftalign">0001</td>
</tr>
<tr>
<td class="text-leftalign">2</td>
<td class="text-leftalign">2</td>
<td class="text-leftalign">0010</td>
</tr>
<tr>
<td class="text-leftalign">3</td>
<td class="text-leftalign">3</td>
<td class="text-leftalign">0011</td>
</tr>
<tr>
<td class="text-leftalign">4</td>
<td class="text-leftalign">4</td>
<td class="text-leftalign">0100</td>
</tr>
<tr>
<td class="text-leftalign">5</td>
<td class="text-leftalign">5</td>
<td class="text-leftalign">0101</td>
</tr>
<tr>
<td class="text-leftalign">6</td>
<td class="text-leftalign">6</td>
<td class="text-leftalign">0110</td>
</tr>
<tr>
<td class="text-leftalign">7</td>
<td class="text-leftalign">7</td>
<td class="text-leftalign">0111</td>
</tr>
<tr>
<td class="text-leftalign">8</td>
<td class="text-leftalign">8</td>
<td class="text-leftalign">1000</td>
</tr>
<tr>
<td class="text-leftalign">9</td>
<td class="text-leftalign">9</td>
<td class="text-leftalign">1001</td>
</tr>
<tr>
<td class="text-leftalign">A</td>
<td class="text-leftalign">10</td>
<td class="text-leftalign">1010</td>
</tr>
<tr>
<td class="text-leftalign">B</td>
<td class="text-leftalign">11</td>
<td class="text-leftalign">1011</td>
</tr>
<tr>
<td class="text-leftalign">C</td>
<td class="text-leftalign">12</td>
<td class="text-leftalign">1100</td>
</tr>
<tr>
<td class="text-leftalign">D</td>
<td class="text-leftalign">13</td>
<td class="text-leftalign">1101</td>
</tr>
<tr>
<td class="text-leftalign">E</td>
<td class="text-leftalign">14</td>
<td class="text-leftalign">1110</td>
</tr>
<tr>
<td class="text-leftalign">F</td>
<td class="text-leftalign">15</td>
<td class="text-leftalign">1111</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>We want to convert hexadecimal number AB1c to binary. For this we will replace each hexadecimal digit to binary values using the above table:</li>
</ul>
</div>
</div>
<p><b>Hexadecimal Number:</b> A B 1 c<br />
<b>Binary Values: </b>(1010) (1011) (0001) (1100)<br />
So <b>(AB1c)<sub>16</sub> = (1010101100011100)<sub>2</sub></b></p>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/how-to-convert-hexadecimal-to-binary-using-c-language/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the Output ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/what-is-the-output/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/what-is-the-output/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 20:01:05 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[basic c programs]]></category>
		<category><![CDATA[basics of c]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c c++ programs for interview]]></category>
		<category><![CDATA[c code]]></category>
		<category><![CDATA[c coding questions]]></category>
		<category><![CDATA[c interview questions]]></category>
		<category><![CDATA[c language]]></category>
		<category><![CDATA[c programming]]></category>
		<category><![CDATA[c programming basics]]></category>
		<category><![CDATA[c programming coding questions]]></category>
		<category><![CDATA[c programming examples]]></category>
		<category><![CDATA[c programming language]]></category>
		<category><![CDATA[c programming test questions]]></category>
		<category><![CDATA[c programming tricky questions]]></category>
		<category><![CDATA[c programming tutorial]]></category>
		<category><![CDATA[c programs with solutions]]></category>
		<category><![CDATA[c_language]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[computer programming]]></category>
		<category><![CDATA[cracking the coding interview]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[examples of output devices]]></category>
		<category><![CDATA[factorial program in c]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[interview questions and answers]]></category>
		<category><![CDATA[learn c programming]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[output definition computer]]></category>
		<category><![CDATA[output devices of computer and their functions]]></category>
		<category><![CDATA[pattern programs asked in interview]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[pointers in c]]></category>
		<category><![CDATA[programs asked in interview in java]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[strings in c]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[the c programming language]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[what is output in computer]]></category>
		<category><![CDATA[zycus infotech interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=315</guid>

					<description><![CDATA[Answer : NULL...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-the-output" class="color-pink" style="text-align: justify;">What is the Output ?</h2>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">main () <br/>  {<br/>  char *p1=&quot;Name&quot;; <br/>  char *p2; <br/>  p2=(char *)malloc(20); <br/>  while(*p2++=*p1++); <br/>  printf(&quot;%s\n&quot;,p2); <br/>  } </code></pre> </div></figure>
</div>
</div>
<p style="text-align: justify;"><b>Answer</b> : NULL</p>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">We are incrementing the pointers p1,p2.</li>
<li style="text-align: justify;">When it reached the end of the string, *p2 points to NULL.</li>
<li style="text-align: justify;">We have lost the address of the starting position.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/what-is-the-output/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>main () {int x=20, y=35; x = y++ + x++; y = ++y + ++x; printf (&#8220;%d %d\n”, x, y);} ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/main-int-x20-y35-x-y-x-y-y-x-printf-d-dn-x-y/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/main-int-x20-y35-x-y-x-y-y-x-printf-d-dn-x-y/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 19:55:57 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[A Simple C Program for Mathematical Calculation]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Basics of Common Math Functions in C Programming]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[C Programming Examples on Mathematical Functions]]></category>
		<category><![CDATA[c programming math functions]]></category>
		<category><![CDATA[c programming math operators]]></category>
		<category><![CDATA[C/C++ Mathematical Programs]]></category>
		<category><![CDATA[c++ math code examples]]></category>
		<category><![CDATA[c++ programs mathematical formula]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[computer programming formulas]]></category>
		<category><![CDATA[define main() in c language]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[explain the importance of main function in c]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[for loop in c programming example]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[importance of main function in c++]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[main function c programming]]></category>
		<category><![CDATA[main function in c is user defined or not]]></category>
		<category><![CDATA[main in c programming]]></category>
		<category><![CDATA[main method in c]]></category>
		<category><![CDATA[main() function definition]]></category>
		<category><![CDATA[math functions in c programming examples]]></category>
		<category><![CDATA[mathematical programming in c]]></category>
		<category><![CDATA[Mathematical Programs in C Langauge]]></category>
		<category><![CDATA[mathematical programs in c language]]></category>
		<category><![CDATA[mathematics in c programming]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[syntax of function in c]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[what does main() mean in c]]></category>
		<category><![CDATA[what is main function in c++]]></category>
		<category><![CDATA[what is main() function]]></category>
		<category><![CDATA[what is main() in c++]]></category>
		<category><![CDATA[what is the main function]]></category>
		<category><![CDATA[what is the purpose of main function in c language]]></category>
		<category><![CDATA[zencer interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=313</guid>

					<description><![CDATA[Answer : While calculating the y value, x &#038; y values are preincremtned, so x &#038; y values are incremented...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="find-the-output-of-c-program" class="color-purple" style="text-align: justify;">Find the output of C Program ?</h2>
</div>
</div>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">main()<br/>{<br/>int x=20,y=35;<br/>x = y++ + x++;<br/>y = ++y + ++x;<br/>printf(&quot;%d %d\n&quot;,x,y);<br/>} ? </code></pre> </div>
<p style="text-align: justify;">While calculating the x value, x &amp; y values are post incremented. So, the values of x &amp; y are added and then incremented i.e. x=56, y=36</p>
<p style="text-align: justify;">While calculating the y value, x &amp; y values are preincremented, so x &amp; y values are incremented and then added i.e x=57, y=37.</p>
<p style="text-align: justify;"><b>{ x=y++ + x++; }</b> equal to</p>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code"><br/>x=y+x;//35+20<br/>x++; //56<br/>y++; //36<br/>}</code></pre> </div></figure>
</div>
</div>
<p style="text-align: justify;"><b>y=++y + ++x;</b> is equal to</p>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code"><br/>++y;//37<br/>++x;//57<br/>y=y+x;//37+57<br/>}</code></pre> </div></figure>
</div>
</div>
<p style="text-align: justify;"><b>Output:</b></p>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-c code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-c code-embed-code">x=57<br/> y=94</code></pre> </div></figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/main-int-x20-y35-x-y-x-y-y-x-printf-d-dn-x-y/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the main difference between c and c++ ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/what-is-the-main-difference-between-c-and-cpp/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/what-is-the-main-difference-between-c-and-cpp/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 19:49:01 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[C++ and C#]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Comparison Between C]]></category>
		<category><![CDATA[Compatibility of C and C++]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between c and c++]]></category>
		<category><![CDATA[difference between c and c++ and c#]]></category>
		<category><![CDATA[difference between c and c++ with example program]]></category>
		<category><![CDATA[difference between c and java]]></category>
		<category><![CDATA[Difference between C structures and C++ structures]]></category>
		<category><![CDATA[Differences between c and c++]]></category>
		<category><![CDATA[ecare technology labs interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Important Differences Between C And C++]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Key Differences between C and C++]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[paramatrix interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[similarities between c and c++]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[What are the fundamental differences between C and C++?]]></category>
		<category><![CDATA[what is the difference between c and c++]]></category>
		<category><![CDATA[zeomega interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=311</guid>

					<description><![CDATA[Answer : The main difference between c and c++ is...]]></description>
										<content:encoded><![CDATA[<h2 id="1-what-is-the-main-difference-between-c-and-c" class="color-pink" style="text-align: justify;">1. What is the main difference between c and c++ ?</h2>
<div class="Content">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr style="text-align: justify;">
<th><a href="https://www.wikitechy.com/tutorials/c-programming/" target="_blank" rel="noopener">C</a></th>
<th><a href="https://www.wikitechy.com/tutorials/c++/" target="_blank" rel="noopener">C++</a></th>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">C is a structured programming language.</td>
<td class="text-leftalign">C++ is an object oriented programming language.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">C language is not in solving the real time problem.</td>
<td class="text-leftalign">C++ works well in solving real time problem.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign"><a href="https://www.wikitechy.com/interview-questions/java/what-is-polymorphism-in-java/" target="_blank" rel="noopener">Polymorphism</a> is not possible.</td>
<td class="text-leftalign">Polymorphism is used in C++.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">In C, malloc() and calloc() Functions are used for<br />
<a href="https://www.wikitechy.com/tutorials/c-programming/dynamic-memory-allocation-in-c" target="_blank" rel="noopener">Memory Allocation </a>and free() function<br />
for memory Deallocating.</td>
<td class="text-leftalign">C++, <a href="https://www.wikitechy.com/tutorials/c++/c++-memory-management" target="_blank" rel="noopener">new and delete operators</a> are used for Memory Allocating and Deallocating.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">Operator overloading is not possible in C.</td>
<td class="text-leftalign"><a href="https://www.wikitechy.com/tutorials/c++/operator-overloading-in-c++" target="_blank" rel="noopener">Operator overloading</a> is one of the greatest Feature of C++.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">No namespace Feature is present in C Language.</td>
<td class="text-leftalign"><a href="https://www.wikitechy.com/tutorials/c++/namespace-in-c++" target="_blank" rel="noopener">Namespace</a> Feature is present in C++ for avoiding Name collision.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">scanf() function used for input and printf() function<br />
used for output.</td>
<td class="text-leftalign">Cin function used for input and Cout funtion used for output.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">Polymorphism, Operator Overloading Concept is not<br />
possible in C.</td>
<td class="text-leftalign">Polymorphism, Operator Overloading Concept is the most important feature in C++.</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">C requires all the variables to be defined<br />
at the starting of a scope.</td>
<td class="text-leftalign">C++ allows the declaration of variable anywhere in the scope i.e at time of its First use.</td>
</tr>
<tr>
<td class="text-leftalign" style="text-align: justify;">Exception Handling is not present in C.</td>
<td class="text-leftalign" style="text-align: justify;"><a href="https://www.wikitechy.com/tutorials/python/python-exception" target="_blank" rel="noopener">Exception Handling</a> is done with Try and Catch block.</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/what-is-the-main-difference-between-c-and-cpp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Pick out the odd one out of the following malloc(), calloc(), free(), realloc() ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/pick-out-the-odd-one-out-of-the-following-malloc-calloc-free-realloc/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/pick-out-the-odd-one-out-of-the-following-malloc-calloc-free-realloc/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 19:45:16 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Accentur interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[C Memory Allocation Using malloc()]]></category>
		<category><![CDATA[C Programming Language: Functions malloc()]]></category>
		<category><![CDATA[calloc and malloc in c]]></category>
		<category><![CDATA[calloc()]]></category>
		<category><![CDATA[calloc() versus malloc()]]></category>
		<category><![CDATA[calloc() versus malloc()Difference between malloc]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[DHFL Pramerica Life Insurance Company Ltd interview questions and answers]]></category>
		<category><![CDATA[Difference between malloc]]></category>
		<category><![CDATA[difference between malloc and calloc in c]]></category>
		<category><![CDATA[dynamic memory allocation in c]]></category>
		<category><![CDATA[Dynamic memory allocation in C : Learn to use calloc]]></category>
		<category><![CDATA[dynamic memory allocation in c example]]></category>
		<category><![CDATA[dynamic memory allocation in c programming examples]]></category>
		<category><![CDATA[dynamic memory allocation in data structure]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Explain malloc()]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[free and realloc functions]]></category>
		<category><![CDATA[free() & realloc()]]></category>
		<category><![CDATA[HCL Technol interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[malloc]]></category>
		<category><![CDATA[malloc calloc realloc]]></category>
		<category><![CDATA[malloc vs calloc vs realloc]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[realloc]]></category>
		<category><![CDATA[realloc() and free() in C LanguageC dynamic memory allocation]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tata AIA Life Insurance interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindr interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[zenq interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=309</guid>

					<description><![CDATA[Answer : free()..]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="pick-out-the-odd-one-out-of-the-following-malloc-calloc-free-realloc" class="color-pink" style="text-align: justify;">Pick out the odd one out of the following malloc(), calloc(), free(), realloc() ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>free()</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="explanation">Explanation:</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Here malloc(), calloc(), realloc() are the memory allocation function. whereas free() is used to free the memory which is allocated by the above function.</li>
<li>so the free() is odd term.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="malloc" class="color-green">malloc()</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The function malloc() reserves a block of memory of specified size and return a pointer of type void which can be casted into pointer of any form.</li>
<li>It allocates single block of memory</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="calloc" class="color-green">calloc()</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>calloc() allocates multiple blocks of memory each of same size and sets all bytes to zero.</li>
<li>It allocates space for an array elements, initializes to zero and then returns a pointer to memory.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="realloc" class="color-green">realloc()</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>If suppose we assigned more or less memory than required, then we can change the size of the previously assigned memory space using realloc.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="free" class="color-green">free()</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">The function free is used to deallocate or free the memory after the program finishes which was dynamically allocated in the program.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/pick-out-the-odd-one-out-of-the-following-malloc-calloc-free-realloc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
