<?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>Raqmiyat Information Technologies Pvt Ltd interview questions and answers</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/raqmiyat-information-technologies-pvt-ltd-interview-questions-and-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/raqmiyat-information-technologies-pvt-ltd-interview-questions-and-answers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 17 Sep 2021 10:25:56 +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>Raqmiyat Information Technologies Pvt Ltd interview questions and answers</title>
	<link>https://www.wikitechy.com/interview-questions/tag/raqmiyat-information-technologies-pvt-ltd-interview-questions-and-answers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Difference Between Get and Post Method in PHP ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:30:53 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications 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[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[dget and post]]></category>
		<category><![CDATA[diff between get and post]]></category>
		<category><![CDATA[difference between get and post]]></category>
		<category><![CDATA[difference between get and post in html]]></category>
		<category><![CDATA[difference between get and post in java]]></category>
		<category><![CDATA[difference between get and post in php]]></category>
		<category><![CDATA[difference between get and post method]]></category>
		<category><![CDATA[difference between get and post method in htm]]></category>
		<category><![CDATA[difference between get and post method in java]]></category>
		<category><![CDATA[difference between get and post method in php]]></category>
		<category><![CDATA[difference between get and post method in php with example]]></category>
		<category><![CDATA[difference between get and post request]]></category>
		<category><![CDATA[difference between http get and post]]></category>
		<category><![CDATA[difference get and post]]></category>
		<category><![CDATA[example of get and post method]]></category>
		<category><![CDATA[example of get and post method in php]]></category>
		<category><![CDATA[geekyants interview questions and answers]]></category>
		<category><![CDATA[get and post difference]]></category>
		<category><![CDATA[get and post examples]]></category>
		<category><![CDATA[get and post in php]]></category>
		<category><![CDATA[get and post metho]]></category>
		<category><![CDATA[get and post method in c#]]></category>
		<category><![CDATA[get and post method in html]]></category>
		<category><![CDATA[get and post method in html examples]]></category>
		<category><![CDATA[get and post method in java]]></category>
		<category><![CDATA[get and post method in php]]></category>
		<category><![CDATA[get and post request]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[html get and post]]></category>
		<category><![CDATA[html get and post example]]></category>
		<category><![CDATA[http get and post]]></category>
		<category><![CDATA[http get and post method]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[javascript get and post]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[what is get and post]]></category>
		<category><![CDATA[what is get and post method]]></category>
		<category><![CDATA[what is the difference between get and post]]></category>
		<category><![CDATA[what is the difference between get and post method]]></category>
		<category><![CDATA[when to use get and post]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1148</guid>

					<description><![CDATA[Answer : GET requests can be cached...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-get-and-post-method-in-php" class="color-pink">Difference Between Get and Post Method in PHP ?</h2>
</div>
</div>
<div class="table-responsive">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th><a href="https://www.wikitechy.com/php/php-get" target="_blank" rel="noopener">$_GET Method</a></th>
<th><a href="https://www.wikitechy.com/php/php-post" target="_blank" rel="noopener">$_POST Method</a></th>
</tr>
<tr>
<td class="text-leftalign">GET requests can be cached.</td>
<td class="text-leftalign">POST requests are never cached.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests remain in the browser history.</td>
<td class="text-leftalign">POST requests do not remain in the browser history.</td>
</tr>
<tr>
<td class="text-leftalign">Easier to hack for script kiddies.</td>
<td class="text-leftalign">More difficult to hack.</td>
</tr>
<tr>
<td class="text-leftalign">Restrictions on form data type. Only ASCII characters<br />
allowed.</td>
<td class="text-leftalign">No restrictions. Binary data is also allowed.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests can be bookmarked.</td>
<td class="text-leftalign">POST requests cannot be bookmarked.</td>
</tr>
<tr>
<td class="text-leftalign">GET is less secure compared to POST because data sent<br />
is part of the URL. So it&#8217;s saved in browser history<br />
and server logs in plaintext.</td>
<td class="text-leftalign">POST is a little safer than GET because the parameters are not stored in browser history or in web server logs.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests have length limitations.</td>
<td class="text-leftalign">POST requests have no limitations on data length .</td>
</tr>
<tr>
<td class="text-leftalign">GET method should not be used when<br />
sending passwords or other sensitive data.<br />
GET requests is only used to request data (not modify).</td>
<td class="text-leftalign">POST method used when sending passwords or other sensitive data.</td>
</tr>
<tr>
<td class="text-leftalign">
<div class="TextHeading">
<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-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt; <br/>&lt;html lang=&quot;en&quot;&gt; <br/>&lt;head&gt;<br/> &lt;title&gt;Example of PHP GET method&lt;/title&gt; <br/>&lt;/head&gt; <br/>&lt;body&gt; <br/>&lt;?php<br/> if(isset($_GET[&quot;name&quot;])){<br/> echo &quot;&lt;p&gt;Hi, &quot; . $_GET[&quot;name&quot;] . &quot;&lt;/p&gt;&quot;; <br/>} ?&gt;<br/> &lt;form method=&quot;get&quot; action=&quot;&lt;?<br/>php echo $_SERVER[&quot;PHP_SELF&quot;];?&gt;&quot;&gt;<br/> &lt;label for=&quot;inputName&quot;&gt;Name:&lt;/label&gt; <br/>&lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;inputName&quot;&gt;<br/> &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt; <br/>&lt;/form&gt; <br/>&lt;/body&gt;</code></pre> </div>
</div>
</div>
<div class="CodeContent">
<div class="hddn"></div>
</div>
</td>
<td class="text-leftalign">
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-2" class="color-purple">Sample Code</h2>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight"><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">&lt;!DOCTYPE html&gt; <br/>&lt;html lang=&quot;en&quot;&gt;<br/> &lt;head&gt; <br/>&lt;title&gt;Example of PHP POST method&lt;/title&gt;<br/> &lt;/head&gt; &lt;body&gt; <br/>&lt;?php <br/>if(isset($_POST[&quot;name&quot;])){ <br/>echo &quot;&lt;p&gt;Hi, &quot; . $_POST[&quot;name&quot;] . &quot;&lt;/p&gt;&quot;; } <br/>?&gt; <br/>&lt;form method=&quot;post&quot; action=&quot;<br/>&lt;?php echo $_SERVER[&quot;PHP_SELF&quot;];?<br/>&gt;&quot;&gt; <br/>&lt;label for=&quot;inputName&quot;&gt;Name:&lt;/label&gt; <br/>&lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;inputName&quot;&gt;<br/> &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;<br/> &lt;/form&gt;<br/> &lt;/body&gt;</code></pre> </div></figure>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to run PHP in command line ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:27:56 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications 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 php command line]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[execute php file from command line]]></category>
		<category><![CDATA[execute php file from command line linux]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to run php in kali linux]]></category>
		<category><![CDATA[how to run php on windows]]></category>
		<category><![CDATA[how to run php program in linux]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php 7 command linerun php in terminal macexecute php script from command line linux]]></category>
		<category><![CDATA[php cli]]></category>
		<category><![CDATA[php cli command]]></category>
		<category><![CDATA[php cli example]]></category>
		<category><![CDATA[php cli execute code]]></category>
		<category><![CDATA[php cli install]]></category>
		<category><![CDATA[php cli windows]]></category>
		<category><![CDATA[php cmd]]></category>
		<category><![CDATA[php command]]></category>
		<category><![CDATA[php command line]]></category>
		<category><![CDATA[php command line args]]></category>
		<category><![CDATA[php command line arguments]]></category>
		<category><![CDATA[php command line input]]></category>
		<category><![CDATA[php command line interface]]></category>
		<category><![CDATA[php command line options]]></category>
		<category><![CDATA[php command line script]]></category>
		<category><![CDATA[php command line windows]]></category>
		<category><![CDATA[php command prompt]]></category>
		<category><![CDATA[php console]]></category>
		<category><![CDATA[php console application]]></category>
		<category><![CDATA[php console output]]></category>
		<category><![CDATA[php execute command line]]></category>
		<category><![CDATA[php execute shell script]]></category>
		<category><![CDATA[php linux commandphp.exe location in windows xampp]]></category>
		<category><![CDATA[php terminal]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[run php as a service]]></category>
		<category><![CDATA[run php from command line]]></category>
		<category><![CDATA[run php from command line windows xampp]]></category>
		<category><![CDATA[run php from terminal]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[xtreeme interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1147</guid>

					<description><![CDATA[Answer : PHP is a server side scripting language, a lot of development using PHP...]]></description>
										<content:encoded><![CDATA[<div class="row">
<div class="col-sm-12">
<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-run-php-in-command-line" class="color-pink" style="text-align: justify;">How to run PHP in command line ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>PHP is a server side scripting language, a lot of development using PHP is done on a live web environment. However, PHP does allow you to install it and run scripts on your local machine with no web access needed.</li>
<li>Running PHP from Windows command line can be especially useful when trying to rapidly develop custom scripts, or to read and modify local files.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-1">Step 1</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>First you will need download the latest version of PHP and extract it to your C:\ directory.</li>
<li>https://windows.php.net/download#php-5.6</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><a href="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-1.png"><img fetchpriority="high" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-1.png" alt="how to run php in command line" width="677" height="112" /></a></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-2">Step 2</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Navigate to Control Panel &gt; System and Security &gt; System &gt; Advanced system settings. In the System variables panel click, find and edit the Path variable and append the path to your extracted PHP folder.</li>
</ul>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code id="code1" class="hljs css" data-lang=""><span class="nt"><span class="hljs-tag">C</span>:\<span class="hljs-attr_selector">[php folder]</span></span></code></pre>
</figure>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<p>Note: Use semicolon to delimit between System Variables.</p>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-2.png" alt="how to run php in command line" width="453" height="289" /></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-3">Step 3</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Open the CMD and enter PATH. Verify your PHP System Variable has been added. (Optional)</li>
</ul>
<p><img decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-3.png" alt="how to run php in command line" width="817" height="126" /></p>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-4">Step 4</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Type “cd C:\[folder name]” in CMD to enter your PHP directory. Replace [folder name] with the name of your extracted PHP download.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-5">Step 5</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Type “php -v” to confirm version is correct.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-4.png" alt="how to run php in command line" width="516" height="134" /></div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="step-6">Step 6</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Enter “php c:\[directory]\[folder]\[php function].php”. Replace [php function] with your file.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn" style="text-align: justify;"><img loading="lazy" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line-5.png" width="565" height="67" /></div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/how-to-run-php-in-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to download a php script directly in your script page ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/how-to-download-a-php-script-directly-in-your-script-page/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/how-to-download-a-php-script-directly-in-your-script-page/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:20:09 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[add php script to html]]></category>
		<category><![CDATA[apache php download instead execute]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications 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[compile php script]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[download a folder using phpdownload php file from server directory]]></category>
		<category><![CDATA[download file from folder in php]]></category>
		<category><![CDATA[download file php script]]></category>
		<category><![CDATA[download php files]]></category>
		<category><![CDATA[execute php script]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to call php script from html]]></category>
		<category><![CDATA[how to create php script]]></category>
		<category><![CDATA[how to execute php script]]></category>
		<category><![CDATA[how to make a php script]]></category>
		<category><![CDATA[how to use php script in html]]></category>
		<category><![CDATA[how to use script in php]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql trigger php script]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php code for downloading a file from database]]></category>
		<category><![CDATA[php code for downloading a file from folder]]></category>
		<category><![CDATA[php code for downloading a file from server]]></category>
		<category><![CDATA[php download all files in directory]]></category>
		<category><![CDATA[php download file script]]></category>
		<category><![CDATA[php download folder from servercode for downloading a file in phphow to make a file downloadable in phpphp script free download]]></category>
		<category><![CDATA[php download php file]]></category>
		<category><![CDATA[php file download example]]></category>
		<category><![CDATA[php file download script]]></category>
		<category><![CDATA[php file download script example]]></category>
		<category><![CDATA[php file downloader]]></category>
		<category><![CDATA[php file hosting script]]></category>
		<category><![CDATA[php include script]]></category>
		<category><![CDATA[php list all files in directory and subdirectories]]></category>
		<category><![CDATA[php list folders in directory]]></category>
		<category><![CDATA[php mysql download]]></category>
		<category><![CDATA[php script]]></category>
		<category><![CDATA[php script example]]></category>
		<category><![CDATA[php script in html page]]></category>
		<category><![CDATA[php script name]]></category>
		<category><![CDATA[php script online]]></category>
		<category><![CDATA[php script path]]></category>
		<category><![CDATA[php server script]]></category>
		<category><![CDATA[php web script]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[run php script]]></category>
		<category><![CDATA[run php script from command line]]></category>
		<category><![CDATA[sample php script]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[test php script]]></category>
		<category><![CDATA[test php script online]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[write php script]]></category>
		<category><![CDATA[zmanda interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1146</guid>

					<description><![CDATA[Answer : Here we create a PHP script, name it "download.php"...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-download-a-php-script-directly-in-your-script-page" class="color-pink">How to download a php script directly in your script page ?</h2>
</div>
</div>
<p>Here we create a PHP script, name it “download.php” and copy/paste the following code:</p>
<div class="text-center row">
<div class="col-sm-12">
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;?php<br/> <br/>ignore_user_abort(true);<br/>set_time_limit(0); // disable the time limit for this script<br/> <br/>$path = &quot;/absolute_path_to_your_files/&quot;; // change the path to fit your websites document structure<br/> <br/>$dl_file = preg_replace(&quot;([^\w\s\d\-_~,;:\[\]\(\).]|[\.]{2,})&quot;, &#039;&#039;, $_GET[&#039;download_file&#039;]); // simple file name validation<br/>$dl_file = filter_var($dl_file, FILTER_SANITIZE_URL); // Remove (more) invalid characters<br/>$fullPath = $path.$dl_file;<br/> <br/>if ($fd = fopen ($fullPath, &quot;r&quot;)) {<br/>    $fsize = filesize($fullPath);<br/>    $path_parts = pathinfo($fullPath);<br/>    $ext = strtolower($path_parts[&quot;extension&quot;]);<br/>    switch ($ext) {<br/>        case &quot;pdf&quot;:<br/>        header(&quot;Content-type: application/pdf&quot;);<br/>        header(&quot;Content-Disposition: attachment; filename=\&quot;&quot;.$path_parts[&quot;basename&quot;].&quot;\&quot;&quot;); // use &#039;attachment&#039; to force a file download<br/>        break;<br/>        // add more headers for other content types here<br/>        default;<br/>        header(&quot;Content-type: application/octet-stream&quot;);<br/>        header(&quot;Content-Disposition: filename=\&quot;&quot;.$path_parts[&quot;basename&quot;].&quot;\&quot;&quot;);<br/>        break;<br/>    }<br/>    header(&quot;Content-length: $fsize&quot;);<br/>    header(&quot;Cache-control: private&quot;); //use this to open files directly<br/>    while(!feof($fd)) {<br/>        $buffer = fread($fd, 2048);<br/>        echo $buffer;<br/>    }<br/>}<br/>fclose ($fd);<br/>exit;</code></pre> </div>
</div>
</div>
<p>Create on your webpage links for each file which attacks in a password protected directory or in a directory above the website root directory.</p>
<p>In our example use the following download URL:</p>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;a href=&quot;https://mydomain.com/download.php?download_file=some_file.pdf&quot;&gt;PHP download file&lt;/a&gt;</code></pre> </div></figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/how-to-download-a-php-script-directly-in-your-script-page/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Magic Code ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/what-is-magic-code/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/what-is-magic-code/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:17:05 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications 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[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[get_magic_quotes_gpc]]></category>
		<category><![CDATA[get_magic_quotes_gpc php 7]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to add double quotes in string in php]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[magic code]]></category>
		<category><![CDATA[magic code in php]]></category>
		<category><![CDATA[magic quotes gpc off]]></category>
		<category><![CDATA[magic quotes gpc off cpanel]]></category>
		<category><![CDATA[magic quotes in php]]></category>
		<category><![CDATA[magic quotes php]]></category>
		<category><![CDATA[magic quotes php 7]]></category>
		<category><![CDATA[magic quotes php example]]></category>
		<category><![CDATA[magic_quotes_gpc in php]]></category>
		<category><![CDATA[magic_quotes_gpc php]]></category>
		<category><![CDATA[magic_quotes_gpc php 7]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql_real_escape_string in php]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php 5.6 magic quotes]]></category>
		<category><![CDATA[php 7 enable magic quotes]]></category>
		<category><![CDATA[php addslashes]]></category>
		<category><![CDATA[php escape forward slash]]></category>
		<category><![CDATA[php escape single quote]]></category>
		<category><![CDATA[php escape special characters]]></category>
		<category><![CDATA[php magic code]]></category>
		<category><![CDATA[php magic quotes]]></category>
		<category><![CDATA[php magic quotes example]]></category>
		<category><![CDATA[php magic quotes replacement]]></category>
		<category><![CDATA[php mysql escape single quote]]></category>
		<category><![CDATA[php_flag magic_quotes_gpc off 500 error]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[stripslashes in php]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[zynga interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1145</guid>

					<description><![CDATA[Answer : Magic code is used to describe...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-magic-code" class="color-pink" style="text-align: justify;">What is Magic Code ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">Magic code is used to describe the code which handles the critical task without showing the complexity to present a simple interface.</li>
<li style="text-align: justify;">Some special characters is called magic code, as single quote( &#8216; ), double quote (“), amperson (&amp;) etc. It’s useful for beginner programmer.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/what-is-magic-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Explain about error handling in php ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/explain-about-error-handling-in-php/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/explain-about-error-handling-in-php/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:14:32 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[basic php errors or problems]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications 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[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[disable warning in php ini]]></category>
		<category><![CDATA[error handling in php]]></category>
		<category><![CDATA[error reporting php inierror_reporting(0) not working]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how to display an error message on the form using php]]></category>
		<category><![CDATA[how to display error message in html using php]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[php 7 not showing errorsphp display_errors]]></category>
		<category><![CDATA[php display_errors]]></category>
		<category><![CDATA[PHP Error and Exception Handling]]></category>
		<category><![CDATA[php error handling]]></category>
		<category><![CDATA[PHP Error Handling and Logging]]></category>
		<category><![CDATA[php error handling best practices]]></category>
		<category><![CDATA[php error handling try catch]]></category>
		<category><![CDATA[php error handling tutorial]]></category>
		<category><![CDATA[php error meaning]]></category>
		<category><![CDATA[php error message]]></category>
		<category><![CDATA[php error message display]]></category>
		<category><![CDATA[php error messagephp error message display]]></category>
		<category><![CDATA[php error reporting not working]]></category>
		<category><![CDATA[php error()]]></category>
		<category><![CDATA[php error()php hide errors]]></category>
		<category><![CDATA[php mysql error handling]]></category>
		<category><![CDATA[php startup error]]></category>
		<category><![CDATA[php try catch fatal error]]></category>
		<category><![CDATA[php.ini display_errors]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[types of error in php]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[yahoo interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1144</guid>

					<description><![CDATA[Answer : Error handling is the process of catching errors...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="explain-about-error-handling-in-php" class="color-pink" style="text-align: justify;">Explain about error handling in php ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Error handling is the process of catching errors elevated from program and then taking correct action. If you would handle errors then the most common error checking methods given in PHP.
<ul>
<li>die() function</li>
<li>Custom errors and error triggers</li>
<li>Error reporting</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="die-function" class="color-green">die() function</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To write the PHP program you should check all possible error condition before checking and take appropriate action when required.</li>
<li>The following example without having /tmp/test.xt file and with this file.</li>
</ul>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;?php<br/>   if(!file_exists(&quot;/tmp/test.txt&quot;)) {<br/>      die(&quot;File not found&quot;);<br/>   }else {<br/>      $file = fopen(&quot;/tmp/test.txt&quot;,&quot;r&quot;);<br/>      print &quot;Opend file sucessfully&quot;;<br/>   }<br/>   // Test of the code here.<br/>?&gt;</code></pre> </div>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn"></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="custom-errors-and-error-triggers" class="color-green">Custom errors and error triggers</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>We can write own function to handling any error. PHP provides a framework to define error handling function.</li>
<li>This function must be able to handle a minimum of two parameters (error level and error message) but can accept up to five parameters (optionally: file, line-number, and the error context)</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="syntax">Syntax</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">error_function(error_level,error_message, error_file,error_line,error_context);</code></pre> </div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="error-reporting" class="color-green">Error reporting</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>These error report levels are the different types of error the user-defined error handler can be used.</li>
<li>The errors are .E_ERROR, E_WARNING, E_PARSE, E_NOTICE, E_CORE_ERROR, E_CORE_WARNING, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE, E_STRICT, E_RECOVERABLE_ERROR, E_ALL</li>
<li>These all errors handle to using set_error_handler function.</li>
</ul>
</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-php code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-php code-embed-code">&lt;?php<br/>   error_reporting( E_ERROR );<br/>   <br/>   function handleError($errno, $errstr,$error_file,$error_line) {<br/>      echo &quot;&lt;b&gt;Error:&lt;/b&gt; [$errno] $errstr - $error_file:$error_line&quot;;<br/>      echo &quot;&lt;br /&gt;&quot;;<br/>      echo &quot;Terminating PHP Script&quot;;<br/>      <br/>      die();<br/>   }<br/>   <br/>   //set error handler<br/>   set_error_handler(&quot;handleError&quot;);<br/>   <br/>   //trigger error<br/>   myFunction();<br/>?&gt;</code></pre> </div></figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/explain-about-error-handling-in-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to find out, how a user visited a particular page ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/how-to-find-out-how-a-user-visited-a-particular-page/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/how-to-find-out-how-a-user-visited-a-particular-page/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:11:09 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications 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 website traffic google]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[direct traffic]]></category>
		<category><![CDATA[get google analytics]]></category>
		<category><![CDATA[get traffic stats for a specific page in google analytics]]></category>
		<category><![CDATA[google analytics - how to see visits per page]]></category>
		<category><![CDATA[google analytics behavior flow for specific page]]></category>
		<category><![CDATA[google analytics certain pages]]></category>
		<category><![CDATA[google analytics custom report for specific pages]]></category>
		<category><![CDATA[google analytics dashboard for specific pages]]></category>
		<category><![CDATA[google analytics direct traffic]]></category>
		<category><![CDATA[google analytics how to tell where traffic is coming from]]></category>
		<category><![CDATA[google analytics page views by url]]></category>
		<category><![CDATA[google analytics report for specific pages]]></category>
		<category><![CDATA[google analytics sessions for specific page]]></category>
		<category><![CDATA[google analytics specific page]]></category>
		<category><![CDATA[google analytics visits per page]]></category>
		<category><![CDATA[google traffic]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[how a user visited a particular page]]></category>
		<category><![CDATA[how to check website traffic]]></category>
		<category><![CDATA[How to find out]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[most trafficked websites]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[page views by url]]></category>
		<category><![CDATA[pagetraffic]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[referral traffic]]></category>
		<category><![CDATA[site traffic checker]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[traffic sources]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[web traffic analysis]]></category>
		<category><![CDATA[website traffic]]></category>
		<category><![CDATA[website traffic analysis]]></category>
		<category><![CDATA[website traffic checker]]></category>
		<category><![CDATA[website traffic tracker]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[yahoo interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1143</guid>

					<description><![CDATA[Answer : We add a counter in that page....]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-find-out-how-a-user-visited-a-particular-page" class="color-pink" style="text-align: justify;">How to find out, how a user visited a particular page ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>We add a counter in that page.</li>
<li>When a page load that counter value will increase.</li>
<li>For storing its previous value we can use session, database etc.</li>
</ul>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><strong><code id="code1" class="hljs bash" data-lang=""><span class="nt">&lt;?php
<span class="hljs-variable">$counter</span>++;
?&gt;</span></code></strong></pre>
</figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/how-to-find-out-how-a-user-visited-a-particular-page/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>
