<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5113857641542106497</id><updated>2026-05-14T23:04:33.556-07:00</updated><category term="Science Study Materials"/><category term="Embedded programming"/><category term="Robotics"/><category term="Interview Questions"/><category term="C Programming"/><category term="Microsoft Tips"/><category term="MS Excel"/><category term="Microsoft Office"/><category term="Digital Electronics"/><category term="Operational Amplifiers"/><category term="Student Project"/><category term="Embedded Electronics"/><category term="Proteus Simulation"/><category term="C"/><category term="Gujrat"/><category term="Microsoft Visual Basic"/><category term="VB Programming"/><category term="Motors"/><category term="Programming"/><category term="Stepper Motor"/><category term="VB6"/><category term="Industrial Automation"/><category term="Servo Motors"/><category term="VB.NET"/><category term="Variables in C"/><category term="Visual Basic"/><category term="Mutex"/><category term="On The Web"/><category term="Pointer in C"/><category term="Visual Basic 2008"/><category term="ADC"/><category term="Array"/><category term="FlowCode Simulation"/><category term="Function"/><category term="Questions"/><category term="Semaphore"/><category term="micro-controller"/><category term="Digital To Analog"/><category term="Finite State Machine"/><category term="Job"/><category term="Logic Gates"/><category term="RS232"/><category term="Bank"/><category term="DAC"/><category term="Interview"/><category term="Loop In C"/><category term="Operators"/><category term="PCB"/><category term="Rajkot"/><category term="Robot"/><category term="Serial"/><category term="Structures"/><category term="Switch"/><category term="Unions"/><category term="AVR"/><category term="Answer"/><category term="Atmega-32"/><category term="Current"/><category term="Data Declarations in C"/><category term="Files"/><category term="Function In C"/><category term="Guinness World Record"/><category term="Interrupt"/><category term="KhodhalDham"/><category term="LCD"/><category term="LEDs"/><category term="Manufacturing-Industry"/><category term="Mealy and Moore machines"/><category term="NSIC"/><category term="Pointer"/><category term="Printed-Circuit-Board"/><category term="Pulse Width Modulation"/><category term="Question"/><category term="Storage class in C"/><category term="Structures and Unions"/><category term="TURBO"/><category term="Variables"/><category term="Viva"/><category term="Voltage"/><category term="Argument"/><category term="Atmega-8"/><category term="Binary Tree"/><category term="Bitwise Operator"/><category term="C-Keywords"/><category term="Compiler"/><category term="Counter"/><category term="Difference Amplifier"/><category term="Installation"/><category term="Integrator Network"/><category term="Inverting Op-amp"/><category term="Jaipur"/><category term="Java"/><category term="Linear Op-amp"/><category term="Linked List"/><category term="Method"/><category term="Multi-Threading"/><category term="Mutual Exclusion Problems"/><category term="PIC16F877"/><category term="Photoelectric Effect"/><category term="Power Supply Unit"/><category term="Rajasthan"/><category term="Real-time software"/><category term="Resistors"/><category term="UML"/><category term="ANSI"/><category term="ARM"/><category term="AVR-Studio"/><category term="Amplitude Shift Keying"/><category term="Analog To Digital"/><category term="Atmel"/><category term="Auto"/><category term="Auto Formatting"/><category term="Auto-complete feature"/><category term="BSS Data Segment"/><category term="Basic"/><category term="Break"/><category term="Camera Tool"/><category term="Capacitor"/><category term="Cell Array Formula"/><category term="Characteristics"/><category term="Classes"/><category term="Cloud-Computing"/><category term="Common"/><category term="Constructor"/><category term="Continuously Streaming Data"/><category term="Conversions in Excel"/><category term="Cyberdyne"/><category term="DMA"/><category term="Dangling-Pointer"/><category term="Data"/><category term="Data Validation Techniques"/><category term="Data-Structure"/><category term="Differentiator"/><category term="Diodes"/><category term="Electric Current"/><category term="Electricity-Meter"/><category term="Electromotive force"/><category term="Embedded"/><category term="Enumeration"/><category term="Environment"/><category term="Excel Short-cuts"/><category term="Excel table feature"/><category term="Extern"/><category term="F11 Key in Excel"/><category term="Filtering Unique Records"/><category term="Flip-flop"/><category term="Format Painter"/><category term="Framework"/><category term="Frequency Response"/><category term="Frequency Shift Keying"/><category term="Getting"/><category term="Guide"/><category term="Heap Tree"/><category term="IDE"/><category term="Importing a text file"/><category term="Improving Chart Formats"/><category term="Input Bias Current"/><category term="Input Differential Amplifier"/><category term="Input Offset Current"/><category term="Installer"/><category term="Instrumentation"/><category term="Integrated"/><category term="Integrated-Environment"/><category term="Interaction-Semantics"/><category term="Invalid cell reference errors"/><category term="J2EE"/><category term="J2SE"/><category term="JAR"/><category term="JVM"/><category term="Karnaugh Maps"/><category term="LDR"/><category term="Library"/><category term="Linked"/><category term="List"/><category term="Loop"/><category term="MNIT"/><category term="Madam Lucia Speech"/><category term="Maximum No of people doing  handshake"/><category term="Member"/><category term="Microprocessor"/><category term="Microsoft"/><category term="Model-Transformations"/><category term="Multimeter Tutorials"/><category term="Multiple"/><category term="Neeraja Modi"/><category term="Net-beans"/><category term="Networking"/><category term="Non-Inverting Op-amp"/><category term="OM Shanti College"/><category term="Object"/><category term="Objective"/><category term="OceanServer"/><category term="Open Loop Op-Amp"/><category term="Oracle"/><category term="Output-Offset Voltage"/><category term="Package"/><category term="Parameter"/><category term="Phase Shift Keying"/><category term="Photo"/><category term="Photo-Resistors"/><category term="Photocell"/><category term="Physics-Tutorials"/><category term="Placement"/><category term="Power-Save-Super-Loop"/><category term="Power-point"/><category term="Precedence"/><category term="Preorder"/><category term="Preprocessors"/><category term="Process"/><category term="Qualifiers in C"/><category term="REF Error"/><category term="Recursive"/><category term="Register"/><category term="SUMIF Formula"/><category term="Schmitt-Trigger"/><category term="Simulation"/><category term="Skynet"/><category term="Slew Rate"/><category term="Social Welfare"/><category term="Sorting"/><category term="Sorting Options in Excel"/><category term="Sorting Rules in Excel"/><category term="Stack"/><category term="Stacks"/><category term="Static"/><category term="Storage"/><category term="Storage Classes"/><category term="Strings"/><category term="Structure"/><category term="Submarines"/><category term="Summation"/><category term="Switch Case"/><category term="Systems"/><category term="T-bridge Feedback Network"/><category term="Tab Colour in Excel"/><category term="Table in Excel"/><category term="Tampering-Techniques"/><category term="Text To Speech"/><category term="Timer"/><category term="Tiny"/><category term="Torpedo"/><category term="Transformer"/><category term="Tutorial"/><category term="Types"/><category term="Types-Of-Buses"/><category term="Visual"/><category term="Volatile in C"/><category term="Voltage Follower"/><category term="Watchdog"/><category term="Wild Pointer"/><category term="WinAVR"/><category term="XFlip Software"/><category term="res"/><category term="voice synthesis software"/><title type='text'>IngenuityDias</title><subtitle type='html'>Programming languages tutorials.C programming extensively covered with illustrative examples.Assembly language programming examples for embedded systems.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>175</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-1178880849094656534</id><published>2016-11-17T03:43:00.002-08:00</published><updated>2016-11-17T03:43:43.399-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Answer"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Data"/><category scheme="http://www.blogger.com/atom/ns#" term="Data-Structure"/><category scheme="http://www.blogger.com/atom/ns#" term="Function"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Operators"/><category scheme="http://www.blogger.com/atom/ns#" term="Preorder"/><category scheme="http://www.blogger.com/atom/ns#" term="Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Recursive"/><category scheme="http://www.blogger.com/atom/ns#" term="Simulation"/><category scheme="http://www.blogger.com/atom/ns#" term="Stacks"/><category scheme="http://www.blogger.com/atom/ns#" term="Structure"/><category scheme="http://www.blogger.com/atom/ns#" term="Switch"/><title type='text'>C Programming - Data Structure Interview Questions Answer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZG7flp0Ys0Q72L2t3hzDuBH7tYVji6rbW6pqvYz_xEKglytkaDRHyTIGh-hmydtzlAhwoKsNBcnFcsKn-Bl7MrNabKOYDQeQhBpXeuhxNyUb75fzsT81gmUBh0FP17p_2x_KS_SVVKMRM/s1600/C+Programming+-+Data+Structure+Interview+Questions+Answers+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;274&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZG7flp0Ys0Q72L2t3hzDuBH7tYVji6rbW6pqvYz_xEKglytkaDRHyTIGh-hmydtzlAhwoKsNBcnFcsKn-Bl7MrNabKOYDQeQhBpXeuhxNyUb75fzsT81gmUBh0FP17p_2x_KS_SVVKMRM/s400/C+Programming+-+Data+Structure+Interview+Questions+Answers+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;We have started series of C programming Q&amp;amp;A for job interview for freshers.Computer / IT Engineering Professionals and Students alike will be benefited.We recommend our user to go through previous post to enhance their knowledge and increase their work productivity and skill ratings at their Job.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.ingenuitydias.com/2016/09/c-programming-question-answer.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;C Programming - Loops&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.ingenuitydias.com/2016/08/c-question-bank.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;C Question Bank-Unions &amp;amp; Structure&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.ingenuitydias.com/2016/08/question-bank-c-programming.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Question Bank - Data&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;We encourage our readers to provide feedback and ask question if required. Readers can also add Explanation, if  required for individual question please use our contact form or sends us mail mentioning topic and question number. We will publish it after review. We have tried our best to avoid any errors/ misprints,but if found by our readers please let us know.You can reach us at info@ingenuitydias.com&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;1. Which is problem oriented language&lt;/span&gt;&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;BASIC&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;PL/I&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;FORTRAN&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;none of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;2. Which is ALGOL based simulation language&lt;/span&gt;&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;FORTRAN&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;SIMSCRIPT&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;GASP IV&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;none of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;3. Which data structure is needed to convert infix notations to postfix notations&lt;/span&gt;&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;linear list&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;tree&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;stack&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;queue&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;4. Repeated execution of simple computation may cause compounding of&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;round off errors&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;syntax errors&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;run time errors&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;logic errors&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;5. Deletion from one end and insertion from other end is&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;stack&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;branch&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;tree&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;queue&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;6. Which statement we should ignore in structure programming&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;WHILE-DO&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;GO-TO&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;IT-ELSE&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;SWITCH&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;7. In C how many parameters can passed to a function&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;2&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;5&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;10&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;as many as defined in function definition&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;8. minimum number of stacks of size n required to implement a queue of size n&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;One&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Two&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Three&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Four&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;9. Preorder is&lt;/span&gt;&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;depth first order&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;breadth first order&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;topological order&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;linear order&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/11/c-programming-data-structure-interview.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/1178880849094656534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/11/c-programming-data-structure-interview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/1178880849094656534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/1178880849094656534'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/11/c-programming-data-structure-interview.html' title='C Programming - Data Structure Interview Questions Answer'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZG7flp0Ys0Q72L2t3hzDuBH7tYVji6rbW6pqvYz_xEKglytkaDRHyTIGh-hmydtzlAhwoKsNBcnFcsKn-Bl7MrNabKOYDQeQhBpXeuhxNyUb75fzsT81gmUBh0FP17p_2x_KS_SVVKMRM/s72-c/C+Programming+-+Data+Structure+Interview+Questions+Answers+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-202275191206364417</id><published>2016-09-20T06:00:00.001-07:00</published><updated>2016-09-20T06:00:12.846-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Answer"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="C-Keywords"/><category scheme="http://www.blogger.com/atom/ns#" term="Dangling-Pointer"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Job"/><category scheme="http://www.blogger.com/atom/ns#" term="Loop In C"/><category scheme="http://www.blogger.com/atom/ns#" term="Pointer in C"/><category scheme="http://www.blogger.com/atom/ns#" term="Question"/><category scheme="http://www.blogger.com/atom/ns#" term="Structures"/><category scheme="http://www.blogger.com/atom/ns#" term="UML"/><category scheme="http://www.blogger.com/atom/ns#" term="Unions"/><category scheme="http://www.blogger.com/atom/ns#" term="Variables"/><title type='text'>C Programming Question Answer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUOuO9S43GwqmEAG2NaB0UytqglVbi88FsXKyX0NDYqu9NKAr0Q10_IYVPm335BhzIvS9iI1Vg6Cn2xXk1lIH1naQ4PmOvw142pd5F5qSf0WnThCMah5-9anEYwR-hdA69M0yLyOJhIlLB/s1600/C+Programming+Question+Answer+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Interview Question Answer&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUOuO9S43GwqmEAG2NaB0UytqglVbi88FsXKyX0NDYqu9NKAr0Q10_IYVPm335BhzIvS9iI1Vg6Cn2xXk1lIH1naQ4PmOvw142pd5F5qSf0WnThCMah5-9anEYwR-hdA69M0yLyOJhIlLB/s400/C+Programming+Question+Answer+IngenuityDias.png&quot; title=&quot;C Programming Question Answer&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;We have started series of C programming Q&amp;amp;A for job interview candidates.Engineering Professionals and students alike will be benefited.&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;We recommend our user to go through previous post to enhance their knowledge and increase their work productivity and skill ratings at their Job.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;We encourage our readers to provide feedback and ask question if required. We have tried our best to avoid any errors/ misprints,but if found by our readers please let us know.You can reach us at &lt;a href=&quot;mailto:info@ingenuitydias.com&quot;&gt;info@ingenuitydias.com&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PLxootT7cj3N-VrXDvGyfHPJjgi_UlwD3x&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2016/08/c-question-bank.html&quot; target=&quot;_blank&quot;&gt;C Question Bank&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/08/differences-between-mutex-and-semaphore.html&quot; target=&quot;_blank&quot;&gt;Differences between Mutex And Semaphore&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/05/difference-between-process-and-thread.html&quot; target=&quot;_blank&quot;&gt;Difference Between Process and Thread&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/07/c-programming-storage-classes-interview.html&quot; target=&quot;_blank&quot;&gt;Storage Classes Interview Q&amp;amp;A&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.We can insert pre written code in a C program by using&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#read&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#get&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#include&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#put&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2. The first expression in a for loop is&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Step value of loop&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Value of the counter variable&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Any of above&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. Break statement is used for&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Quit a program&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Quit the current iteration&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Both of above&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4. Continue statement used for&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;To continue to the next line of code&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;To stop the current iteration and begin the next iteration from the beginning&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;To handle run time error&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5. What will be output of&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#include&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;void main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;char test =`S`;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(&amp;quot;\n%c&amp;quot;,test);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;S&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Error&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Garbage value&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;6. Due to variables scope in c&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Variables created in a function cannot be used another function&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Variables created in a function can be used in another function&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Variables created in a function can only be used in the main function&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;7. What will be the output of following program&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#include&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int x,y = 10;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;x = y * NULL;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(\&amp;quot;%d\&amp;quot;,x);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;error&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;0&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;10&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Garbage value&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;8. Difference between calloc() and malloc()&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;calloc() takes a single argument while malloc() needs two arguments&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;malloc() takes a single argument while calloc() needs two arguments&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;malloc() initializes the allocated memory to ZERO&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;calloc() initializes the allocated memory to NULL&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;9. Exit() is same as return&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;TRUE&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;FALSE&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;10. calloc() belongs to which library&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;stdlib.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;malloc.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;calloc.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;11. If include files can be nested&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Yes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;No&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;12. Which of the following below is/are valid C keywords&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;integer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;null&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;none of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/09/c-programming-question-answer.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/202275191206364417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/09/c-programming-question-answer.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/202275191206364417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/202275191206364417'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/09/c-programming-question-answer.html' title='C Programming Question Answer'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUOuO9S43GwqmEAG2NaB0UytqglVbi88FsXKyX0NDYqu9NKAr0Q10_IYVPm335BhzIvS9iI1Vg6Cn2xXk1lIH1naQ4PmOvw142pd5F5qSf0WnThCMah5-9anEYwR-hdA69M0yLyOJhIlLB/s72-c/C+Programming+Question+Answer+IngenuityDias.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-478872561572871673</id><published>2016-09-12T04:17:00.001-07:00</published><updated>2016-09-12T04:17:23.213-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Answer"/><category scheme="http://www.blogger.com/atom/ns#" term="Bank"/><category scheme="http://www.blogger.com/atom/ns#" term="Compiler"/><category scheme="http://www.blogger.com/atom/ns#" term="Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="IDE"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="J2EE"/><category scheme="http://www.blogger.com/atom/ns#" term="J2SE"/><category scheme="http://www.blogger.com/atom/ns#" term="JAR"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Job"/><category scheme="http://www.blogger.com/atom/ns#" term="JVM"/><category scheme="http://www.blogger.com/atom/ns#" term="Method"/><category scheme="http://www.blogger.com/atom/ns#" term="Multiple"/><category scheme="http://www.blogger.com/atom/ns#" term="Net-beans"/><category scheme="http://www.blogger.com/atom/ns#" term="Object"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Package"/><category scheme="http://www.blogger.com/atom/ns#" term="Questions"/><title type='text'>Java Objective Multiple Answer Questions Bank </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSCxgvkRw0WMe2oJYMkdrdakUjahLGXIHODSA7grZ3m6Yx_5bWHW7ugENQWRitTzgqvmnJruPwzQvLCoyNU1q8cJioN5Yc85FOTwgqrGsgsTgZJ6pLrEmk6xc9othH9aSiYSdXkxVHjVX6/s1600/Java+Objective+Multiple+Answer+Question+Bank+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Java Objective Multiple Answer Question Bank IngenuityDias&quot; border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSCxgvkRw0WMe2oJYMkdrdakUjahLGXIHODSA7grZ3m6Yx_5bWHW7ugENQWRitTzgqvmnJruPwzQvLCoyNU1q8cJioN5Yc85FOTwgqrGsgsTgZJ6pLrEmk6xc9othH9aSiYSdXkxVHjVX6/s400/Java+Objective+Multiple+Answer+Question+Bank+IngenuityDias.png&quot; title=&quot;Java Interview Questions&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;We have chosen Java Oracle J2EE, J2SE, Net-beans, &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;JVM ( Java Virtual Machine )&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt; as our readers choice.&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: times, &amp;quot;times new roman&amp;quot;, serif; font-size: large;&quot;&gt;We have created &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: times, times new roman, serif; font-size: large;&quot;&gt;Objective Type Multiple Answer Question Collection that are &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: times, &amp;quot;times new roman&amp;quot;, serif; font-size: large;&quot;&gt;frequent in job interviews. Our readers &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: times, &amp;quot;times new roman&amp;quot;, serif; font-size: large;&quot;&gt;will find these helpful.We encourage our Readers to send in their suggestion.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;If readers want to add something or explain the answers please send us mail at &lt;a href=&quot;mailto:info@ingenuitydias.com&quot;&gt;info@ingenuitydias.com&lt;/a&gt;  mentioning Question number.If you think some answers are not suitable please lets know.We will do our best to enhance content quality on our Blog.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2016/09/java-question-bank-objective-q.html&quot; target=&quot;_blank&quot;&gt;Java Question Bank&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/interview-questions-embedded-systems.html&quot; target=&quot;_blank&quot;&gt;Embedded Systems for Engineers&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/embedded-electronics-interview.html&quot; target=&quot;_blank&quot;&gt;Embedded Electronics&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/c-programming-interview-questions.html&quot; target=&quot;_blank&quot;&gt;C Programming Interview Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;1. In java, gc() method is available in which package&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java.lang package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java.util package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java.awt package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java.io package&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;2. JAR file contains the compressed version of&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    .java file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    .class file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    .jsp file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;3. Process of creating exact copy of the existing object is called&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    cloning&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    overloading&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    overriding&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    coping&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;4. Which is the predefined package&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Lang package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    io package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    util package&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    All of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;5. Which among following classes is not part of Java&amp;#39;s collection framework&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Queue&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Array&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Stack&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Maps&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;6. Which command is used for interpretation of java program&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Java&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    javac&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    javap&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    none of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;7. What is meaning of jar&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java archived&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java array&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java architecture&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    none of these&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;8. Which of the following command is used to compile the Java program&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    javac&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    javap&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    none of these&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;9. What do you mean by javap&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java compiler&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java Interpreter&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java Disassemble&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    java debugger&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;10. Hot java is&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    System software&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Web browser&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    IDE&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;    Java environment&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/09/java-objective-multiple-answer.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/478872561572871673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/09/java-objective-multiple-answer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/478872561572871673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/478872561572871673'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/09/java-objective-multiple-answer.html' title='Java Objective Multiple Answer Questions Bank '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSCxgvkRw0WMe2oJYMkdrdakUjahLGXIHODSA7grZ3m6Yx_5bWHW7ugENQWRitTzgqvmnJruPwzQvLCoyNU1q8cJioN5Yc85FOTwgqrGsgsTgZJ6pLrEmk6xc9othH9aSiYSdXkxVHjVX6/s72-c/Java+Objective+Multiple+Answer+Question+Bank+IngenuityDias.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-8356732693966547933</id><published>2016-09-08T10:15:00.003-07:00</published><updated>2016-09-08T10:15:55.368-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bank"/><category scheme="http://www.blogger.com/atom/ns#" term="Constructor"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Method"/><category scheme="http://www.blogger.com/atom/ns#" term="Parameter"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Questions"/><title type='text'>Java Question Bank Objective Q&amp;A</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgX_eQyoQVRr5AyrHfVdRrzkidQI4thsbGQMkTfHqYTMjt1EGuSrIrISWUOrIx9CAwCjGqt6eNxBwqxRzM8tYDj0jHcKmDBb6xP1dzrIex0DnVJrtvC6lvwH5TCbT6BcQaQDzIgx8s3499/s1600/Java+Question+Bank+Objective+Q%2526A+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Java Question Bank Objective Q&amp;amp;A IngenuityDias&quot; border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgX_eQyoQVRr5AyrHfVdRrzkidQI4thsbGQMkTfHqYTMjt1EGuSrIrISWUOrIx9CAwCjGqt6eNxBwqxRzM8tYDj0jHcKmDBb6xP1dzrIex0DnVJrtvC6lvwH5TCbT6BcQaQDzIgx8s3499/s400/Java+Question+Bank+Objective+Q%2526A+IngenuityDias.png&quot; title=&quot;Java Q&amp;amp;A IngenuityDias&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Here we have collected frequently asked question in job interviews.We have chosen Java as our readers choice.You will find these helpful.We encourage our Readers to send in their suggestion.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;If readers want to add something or explain the answers please send us mail at &lt;a href=&quot;mailto:info@ingenuitydias.com&quot;&gt;info@ingenuitydias.com&lt;/a&gt;  mentioning Question number.If you think some answers are not suitable please lets know.We will do our best to enhance content quality on our Blog. &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2016/08/c-question-bank.html&quot; target=&quot;_blank&quot;&gt;C Question Bank&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/04/embedded-c-basic-questions-for-job.html&quot; target=&quot;_blank&quot;&gt;Embedded C Question Bank&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/interview-questions-embedded-systems.html&quot; target=&quot;_blank&quot;&gt;Embedded Systems for Engineering freshers Basics Guide&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1. Which class cannot be subclassed (or extended) in java?&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;abstract class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;parent class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Final class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2. Can we declare abstract static method&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Yes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;No&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. pow () is associated with which class&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Math class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Input stream class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Object class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4. Program which executes applet is known as&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;applet engine&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;virtual machine&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;JVM&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5. Suspend thread can be revived by using&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;start() method&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Suspend() method&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;resume() method&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;yield() method&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;6. Runnable is&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Class&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Method&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Variable&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Interface&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;7. Which collection class associates values witch keys, and orders the keys according to their natural order&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;java.util.HashSet&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;java.util.LinkedList&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;java.util.TreeMap&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;java.util.SortedSet&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;8. Which method is used to perform DML statements in JDBC&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;execute()&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;executeUpdate()&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;executeQuery()&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;9. Which of the following statements about arrays is syntactically wrong&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;arrayName[] p = new arrayName[5];&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;arrayName p[5];&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;arrayName[] p [];&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;arrayName p[][] = new arrayName[2][];&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;10. Session beans are created by the client submitting the query to the database&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;True&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;False&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: 1&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/09/java-question-bank-objective-q.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/8356732693966547933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/09/java-question-bank-objective-q.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8356732693966547933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8356732693966547933'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/09/java-question-bank-objective-q.html' title='Java Question Bank Objective Q&amp;A'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgX_eQyoQVRr5AyrHfVdRrzkidQI4thsbGQMkTfHqYTMjt1EGuSrIrISWUOrIx9CAwCjGqt6eNxBwqxRzM8tYDj0jHcKmDBb6xP1dzrIex0DnVJrtvC6lvwH5TCbT6BcQaQDzIgx8s3499/s72-c/Java+Question+Bank+Objective+Q%2526A+IngenuityDias.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-8568646812818301200</id><published>2016-08-30T10:03:00.002-07:00</published><updated>2016-08-30T10:03:26.903-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bank"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Member"/><category scheme="http://www.blogger.com/atom/ns#" term="Operators"/><category scheme="http://www.blogger.com/atom/ns#" term="Precedence"/><category scheme="http://www.blogger.com/atom/ns#" term="Question"/><category scheme="http://www.blogger.com/atom/ns#" term="Stack"/><category scheme="http://www.blogger.com/atom/ns#" term="Structures and Unions"/><category scheme="http://www.blogger.com/atom/ns#" term="UML"/><category scheme="http://www.blogger.com/atom/ns#" term="Variables in C"/><title type='text'>C Question Bank</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudSmsBcnVDqFl6GgSDmOQqab6PRXPtaEJpqam0WqKrU3LcoRDd2ePA_OpUNRmUXBP_ACORE6CUq1uxT7t1QHpeIQopFC0LFoREqs6SlkEQeDiLjvA4Qie5fXKBCJT_7fJ5ld8Qp4N1Mfw/s1600/Question+Bank+-+C+Programming+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudSmsBcnVDqFl6GgSDmOQqab6PRXPtaEJpqam0WqKrU3LcoRDd2ePA_OpUNRmUXBP_ACORE6CUq1uxT7t1QHpeIQopFC0LFoREqs6SlkEQeDiLjvA4Qie5fXKBCJT_7fJ5ld8Qp4N1Mfw/s400/Question+Bank+-+C+Programming+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;We have started series of C programming Question bank for job interview candidates.Engineering Professionals and students alike will be benefited.We encourage our readers to provide feedback and ask question if required. We have tried our best to avoid any errors/ misprints,but if found by our readers please let us know.We recommend our user to go through previous post to enhance their knowledge and increase their work productivity and skill ratings at their Job.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2016/08/question-bank-c-programming.html&quot; target=&quot;_blank&quot;&gt;C Programming&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/02/what-is-storage-class-embedded-c.html&quot; target=&quot;_blank&quot;&gt;What is Storage class?&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/03/dangling-and-wild-pointers-embedded-c.html&quot; target=&quot;_blank&quot;&gt;Dangling and Wild Pointers&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2014/04/unions-why-and-when-to-use-embedded-c.html&quot; target=&quot;_blank&quot;&gt;Unions-Why And When To Use&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.  Difference between structure and union is&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    We can define functions within structures but not within a union&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    We can define functions within union but not within a structure&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    The way memory is allocated&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    There is no difference&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option C&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2. What among following is true about stack&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    stack cannot reuse its memory&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    all elements are of different datatypes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    all operation done at one end&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    none of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option C&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. To access the members of structure which symbol is used&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    *&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    -&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    ,&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    .&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4. A member is a&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Variable in a structure&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Datatype of structure&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Structure pointer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5. Structures can be used&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    to hold different datatypes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    have pointers to structures&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    to assign to one another&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    all of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;6. UML meaning is&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Unique modeling language&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Unified modeling language&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Unified modern language&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Unified master language&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option B&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;7. printf() belongs to which library of c&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    stdlib.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    stdio.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    stdout.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    stdoutput.h&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option B&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;8. A variable in c&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    must have a valid datatype&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    can&amp;#39;t have a name same as keyword&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    must have a name starting with a character&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    All of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;9. What is correct order of precedence in C&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Addition, Division, Modulus&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Addition, Modulus, Division&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Multiplication, Substration, Modulus&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Modulus, Multiplication, Substation&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;10. What is true about fputs function&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    write to a file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    takes two parameters&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    requires a file pointer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    all of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option D&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/08/c-question-bank.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/8568646812818301200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/08/c-question-bank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8568646812818301200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8568646812818301200'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/08/c-question-bank.html' title='C Question Bank'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudSmsBcnVDqFl6GgSDmOQqab6PRXPtaEJpqam0WqKrU3LcoRDd2ePA_OpUNRmUXBP_ACORE6CUq1uxT7t1QHpeIQopFC0LFoREqs6SlkEQeDiLjvA4Qie5fXKBCJT_7fJ5ld8Qp4N1Mfw/s72-c/Question+Bank+-+C+Programming+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-3611607516420079413</id><published>2016-08-28T10:24:00.002-07:00</published><updated>2016-08-28T10:27:11.230-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Argument"/><category scheme="http://www.blogger.com/atom/ns#" term="Bank"/><category scheme="http://www.blogger.com/atom/ns#" term="Break"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="C-Keywords"/><category scheme="http://www.blogger.com/atom/ns#" term="Compiler"/><category scheme="http://www.blogger.com/atom/ns#" term="Files"/><category scheme="http://www.blogger.com/atom/ns#" term="Function In C"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Library"/><category scheme="http://www.blogger.com/atom/ns#" term="Loop In C"/><category scheme="http://www.blogger.com/atom/ns#" term="Operators"/><category scheme="http://www.blogger.com/atom/ns#" term="Pointer in C"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Question"/><category scheme="http://www.blogger.com/atom/ns#" term="Variables in C"/><title type='text'>Question Bank - C Programming</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHLzgU7suROu3WWZje4DqOJhM_G0cKs8sK6ctGdd2ahKPRB7Uu7ZMcMoTpPP9dZG-qz4_obGTYJv-gWXI1nzKy2appOHaMrltCIMGMiwdZxlfwV4mc8DqTBw6cjjA143oCyFzcI5Utdz7E/s1600/Question+Bank+-+C+Programming+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHLzgU7suROu3WWZje4DqOJhM_G0cKs8sK6ctGdd2ahKPRB7Uu7ZMcMoTpPP9dZG-qz4_obGTYJv-gWXI1nzKy2appOHaMrltCIMGMiwdZxlfwV4mc8DqTBw6cjjA143oCyFzcI5Utdz7E/s400/Question+Bank+-+C+Programming+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1. We can insert pre written code in a C program by using&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        #read&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        #get&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        #include&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        #put&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2. Difference between calloc() and malloc()&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    calloc() takes a single argument while malloc() needs two arguments&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    malloc() takes a single argument while calloc() needs two arguments&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    malloc() initializes the allocated memory to ZERO&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    calloc() initializes the allocated memory to NULL&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. The first expression in a for loop is&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Step value of loop&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Value of the counter variable&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Any of above&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4. Exit() is same as return&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    TRUE&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    FALSE&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2016/01/common-c-questions-turbo-cc-getting.html&quot; target=&quot;_blank&quot;&gt;Common C Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/02/what-is-storage-class-embedded-c.html&quot; target=&quot;_blank&quot;&gt;C Programming Frequently Asked Interview Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/01/c-programming-questions-for-job.html&quot; target=&quot;_blank&quot;&gt;C Programming Questions for Job Interview&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5. Break statement is used for&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Quit a program&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Quit the current iteration&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Both of above&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;6. Due to variable scope in c&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Variables created in a function cannot be used another function&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Variables created in a function can be used in another function&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Variables created in a function can only be used in the main function&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;7. What will be the output of following program&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    #include&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    {&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    int x,y = 10;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    x = y * NULL;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    printf(\&amp;quot;%d\&amp;quot;,x);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    }&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        error&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        0&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        10&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;        Garbage value&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;8. calloc() belongs to which library&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    stdlib.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    malloc.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    calloc.h&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    None of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;9. If include files can be nested&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    Yes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    No&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;10. Which of the following below is/are valid C keywords&lt;/span&gt;&lt;br&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    integer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    int&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    null&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;    none of above&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: Option 2&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/08/question-bank-c-programming.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/3611607516420079413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/08/question-bank-c-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/3611607516420079413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/3611607516420079413'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/08/question-bank-c-programming.html' title='Question Bank - C Programming'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHLzgU7suROu3WWZje4DqOJhM_G0cKs8sK6ctGdd2ahKPRB7Uu7ZMcMoTpPP9dZG-qz4_obGTYJv-gWXI1nzKy2appOHaMrltCIMGMiwdZxlfwV4mc8DqTBw6cjjA143oCyFzcI5Utdz7E/s72-c/Question+Bank+-+C+Programming+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-5684790950065210371</id><published>2016-03-16T12:56:00.001-07:00</published><updated>2016-03-16T12:56:18.760-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARM"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmel"/><category scheme="http://www.blogger.com/atom/ns#" term="AVR"/><category scheme="http://www.blogger.com/atom/ns#" term="AVR-Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Guide"/><category scheme="http://www.blogger.com/atom/ns#" term="Installation"/><category scheme="http://www.blogger.com/atom/ns#" term="Tiny"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="WinAVR"/><title type='text'>AVR Studio - 7 Tutorial - Installation Guide</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Bhaag8DTO1VQg9R_DVLBFVGeuFT8O7nPIIChJ3yLlUBVxOXY7PTlXE15xhS2w-wdfp0pwlMKQqZu2wW4YmtGN-sjZ3MYmalBtwECGaF8EhaQpcaPqoAX3YCgyJOieDwyBqUgkdrv285e/s1600/Application+Start+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Bhaag8DTO1VQg9R_DVLBFVGeuFT8O7nPIIChJ3yLlUBVxOXY7PTlXE15xhS2w-wdfp0pwlMKQqZu2wW4YmtGN-sjZ3MYmalBtwECGaF8EhaQpcaPqoAX3YCgyJOieDwyBqUgkdrv285e/s400/Application+Start+%25281%2529.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.atmel.com/tools/atmelstudio.aspx&quot; target=&quot;_blank&quot;&gt;Atmel Studio 7&lt;/a&gt; is the integrated development platform (IDP) for developing and debugging Atmel® SMART ARM®-based and Atmel AVR® microcontroller (MCU) applications. Studio 7 supports all AVR and Atmel SMART MCUs. The Atmel Studio 7 IDP gives you a seamless and easy-to-use environment to write, build and debug your applications written in C/C++ or assembly code. It also connects seamlessly to Atmel debuggers and development kits.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh8hPLtjUnV-414nebN7E-oFzgTbH14xw0ZhOufhu7ftHX23-kh0lpsYV9WSbc1wLXACJUaPKEos_hnvlDI_n7TZ0fcn790mn9Rsysn2DiCNU62jWLwoq4fNTP77tSxRAh1LF34gTRnZKQ/s1600/AVR+Studio+Start+Window+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh8hPLtjUnV-414nebN7E-oFzgTbH14xw0ZhOufhu7ftHX23-kh0lpsYV9WSbc1wLXACJUaPKEos_hnvlDI_n7TZ0fcn790mn9Rsysn2DiCNU62jWLwoq4fNTP77tSxRAh1LF34gTRnZKQ/s400/AVR+Studio+Start+Window+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;Additionally, Atmel Studio includes Atmel Gallery, an online apps store that allows you to extend your development environment with plug-ins developed by Atmel as well as by third-party tool and embedded software vendors. Atmel Studio 7 can also able seamlessly import your Arduino sketches as C++ projects, providing a simple transition path from Makerspace to Marketplace.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2012/06/atmega8-based-development-boadr-for.html&quot; target=&quot;_blank&quot;&gt;Atmega-8 based Development Board&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2012/06/atmega-32-based-diy-kit.html&quot; target=&quot;_blank&quot;&gt;Atmega-32 Development Board for Embedded&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2014/03/micro-controllers-basic-introduction.html&quot; target=&quot;_blank&quot;&gt;Micro-controllers-Basic Introduction Tutorials&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2011/04/flowcode-programming-and-simulation.html&quot; target=&quot;_blank&quot;&gt;Flowcode Programming and Simulation Tutorial&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Prior to installation of AVR Studio you have to install the compiler &lt;a href=&quot;http://winavr.sourceforge.net/download.html&quot; target=&quot;_blank&quot;&gt;WinAVR&lt;/a&gt;. This will allow AVR Studio to detect the compiler.&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhstn8m3sU7mVSu1Fvr3sq9XUcJI-ISGxiIglCGutKgv_QL0A5M8z1QxOC_ncZkKikmORQiYNTbjW6V15Q4616x8EVchU7CG9SOTU3n3N0Ifc1vaweLfL6lujzZBJmj2vl9mN8ZpsLuG8mA/s1600/AVR-Studio+Installer+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhstn8m3sU7mVSu1Fvr3sq9XUcJI-ISGxiIglCGutKgv_QL0A5M8z1QxOC_ncZkKikmORQiYNTbjW6V15Q4616x8EVchU7CG9SOTU3n3N0Ifc1vaweLfL6lujzZBJmj2vl9mN8ZpsLuG8mA/s400/AVR-Studio+Installer+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;Step 1: Download the setup file from &lt;/span&gt;&lt;a href=&quot;http://www.atmel.com/tools/atmelstudio.aspx&quot; style=&quot;font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: x-large;&quot; target=&quot;_blank&quot;&gt;Atmel site&lt;/a&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;.There are two option for download&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;                 A. Atmel Studio 7.0 (build 790) web installer&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;                 B. Atmel Studio 7.0 (build 790) offline installer&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;User should select as per their convinience.&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-1CkstdvbccdMsDcS-U0LI7y57ekdcRBR4YJt4SrM7HGnhgEj-Ek-aPYsQeOPVjmh7NvNNOsFpWkSnLXjxsUuIITwbOHhrWrjRVXJgtvJrVYdEbzOnHP26z8K9bGJR88zJd4hE1MQQKYS/s1600/AVR-Studio+Installer+-Form+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-1CkstdvbccdMsDcS-U0LI7y57ekdcRBR4YJt4SrM7HGnhgEj-Ek-aPYsQeOPVjmh7NvNNOsFpWkSnLXjxsUuIITwbOHhrWrjRVXJgtvJrVYdEbzOnHP26z8K9bGJR88zJd4hE1MQQKYS/s400/AVR-Studio+Installer+-Form+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;Step 2: After selection you will be prompted to fill a form.Complete the form and download link will appear.Click download then wait for download to complete.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Step 3: Double click the Installer/Setup file and installation will start automatically. &lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL9qMLJw8z33gqG5kF8GPBfdmPfc9OKj7TXlPY2tACa3rUpuvMC1BHq_VuoMTq0oBofT6fHbhmMJnSTYsDc2seIK1dtyuU2IkPlFaN8EwtjJuHiV9I8eqEqliTD5noRTIRIxUWCj9Df92V/s1600/AVR+Studio+7+Installation+Guide+IngenuityDias+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL9qMLJw8z33gqG5kF8GPBfdmPfc9OKj7TXlPY2tACa3rUpuvMC1BHq_VuoMTq0oBofT6fHbhmMJnSTYsDc2seIK1dtyuU2IkPlFaN8EwtjJuHiV9I8eqEqliTD5noRTIRIxUWCj9Df92V/s200/AVR+Studio+7+Installation+Guide+IngenuityDias+%25281%2529.jpg&quot; width=&quot;157&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYCkYg256JNEYeXsdCJ1YMnGclcy42tg54GLUB8p426kTmpU_34jRvI2_Z0jFtChGyd8HGnHulW0IZG5DsFUcGZabetYjNuOmsitx7iq4ST-RJCWIfeB5nJoJ8t8Al0iOzple4go26LQUp/s1600/AVR+Studio+7+Installation+Guide+IngenuityDias++%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYCkYg256JNEYeXsdCJ1YMnGclcy42tg54GLUB8p426kTmpU_34jRvI2_Z0jFtChGyd8HGnHulW0IZG5DsFUcGZabetYjNuOmsitx7iq4ST-RJCWIfeB5nJoJ8t8Al0iOzple4go26LQUp/s200/AVR+Studio+7+Installation+Guide+IngenuityDias++%25281%2529.jpg&quot; width=&quot;176&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/03/avr-studio-7-tutorial-installation-guide.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/5684790950065210371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/03/avr-studio-7-tutorial-installation-guide.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/5684790950065210371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/5684790950065210371'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/03/avr-studio-7-tutorial-installation-guide.html' title='AVR Studio - 7 Tutorial - Installation Guide'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Bhaag8DTO1VQg9R_DVLBFVGeuFT8O7nPIIChJ3yLlUBVxOXY7PTlXE15xhS2w-wdfp0pwlMKQqZu2wW4YmtGN-sjZ3MYmalBtwECGaF8EhaQpcaPqoAX3YCgyJOieDwyBqUgkdrv285e/s72-c/Application+Start+%25281%2529.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-6708520590096084752</id><published>2016-02-29T04:49:00.002-08:00</published><updated>2016-03-02T13:56:03.047-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Visual Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="VB Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="VB6"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual"/><title type='text'>Microsoft Visual Basic 2012 Programming for Industrial Applications-Basic Tutorial</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; text-indent: 0in; unicode-bidi: embed; word-break: normal;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3fSgoRMf9_3ycj6odnmd-nABmtl414uKk3kKrUryrkYVwYI4b8L7vaRqqRqQIvJSp-Vil7WO3djvo2YZoZOSbz_7T1VrJUz-uxz4KfsXDl7qhBEUJR8XaZBddK3K3mIxpU1yIccD18ZpY/s1600/Microsoft-Visual-Studio-2012+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3fSgoRMf9_3ycj6odnmd-nABmtl414uKk3kKrUryrkYVwYI4b8L7vaRqqRqQIvJSp-Vil7WO3djvo2YZoZOSbz_7T1VrJUz-uxz4KfsXDl7qhBEUJR8XaZBddK3K3mIxpU1yIccD18ZpY/s400/Microsoft-Visual-Studio-2012+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The basics of the Visual Studio 2012 for Windows Desktop Integrated Development Environment (IDE) for writing, running and debugging your applications for different platforms.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Visual Studio’s help features&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Key commands contained in the IDE’s menus and tool-bar&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The purpose of the various kinds of windows in the Visual Studio 2012 for Windows Desktop IDE.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;How to create, compile and execute a simple Visual Basic app that displays text and an image&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/y8UwkAQnjpM&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Introduction-Visual Studio 2012 is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging applications (also called apps) written in various .NET programming languages.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;This Study provides an overview of the Visual Studio 2012 IDE Shows how to create a simple Visual Basic app by dragging and dropping predefined building blocks into place.A technique known as visual app development.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2014/06/vb6-and-vbnet-comparative-detailed.html&quot; target=&quot;_blank&quot;&gt;VB6 and VB.NET Comparative Detailed Study&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2014/06/microsoft-visual-basic-perfect-rad-tool.html&quot; target=&quot;_blank&quot;&gt;Visual Basic, perfect RAD Tool&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2014/04/analog-clock-in-visual-basic.html&quot; target=&quot;_blank&quot;&gt;Analog Clock In Visual Basic 2008/2010/.NET&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2014/04/phone-book-application-program-in.html&quot; target=&quot;_blank&quot;&gt;Phone Book Application Program In Visual Basic 2008/2010/.NET&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
[next]&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXeu0dVR9D9Llt3MuQK_W8eVj8Qt6rd2xNIZ4q-IU_n5w87J31XKLavFVODHipHH7N6Cp5QJuO6abe6B1c1Y3F8ma_oH0YG3YJv1KFRS7aVKKCA_nSxlfs7_ZPOwXZxZ_fBFjqxul-LlNi/s1600/Visual+Basic+2012+IDE+OverView+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXeu0dVR9D9Llt3MuQK_W8eVj8Qt6rd2xNIZ4q-IU_n5w87J31XKLavFVODHipHH7N6Cp5QJuO6abe6B1c1Y3F8ma_oH0YG3YJv1KFRS7aVKKCA_nSxlfs7_ZPOwXZxZ_fBFjqxul-LlNi/s400/Visual+Basic+2012+IDE+OverView+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;IDE Overview&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Once Visual Studio 2012 begins execution, the Start Page displays&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The Start Page contains a list of links to Visual Studio resources and web-based resources&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;At any time, you can return to the Start Page by selecting VIEW &amp;gt; Start Page&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBgKOfg-irC6j_9GimNUrYe0Qqdr1IMk4CJbUyWVgrRklH32KONbAoVzniOsJETob-cs-LDwuCqwK0bA6doj7B3UeXS60jTBnFUyPyv__zJqMOVe9M87F2yZ6xVxuEhRyTAKVvb4kQtf3/s1600/Visual+Basic+2012+IDE+OverView+IngenuityDias+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBgKOfg-irC6j_9GimNUrYe0Qqdr1IMk4CJbUyWVgrRklH32KONbAoVzniOsJETob-cs-LDwuCqwK0bA6doj7B3UeXS60jTBnFUyPyv__zJqMOVe9M87F2yZ6xVxuEhRyTAKVvb4kQtf3/s400/Visual+Basic+2012+IDE+OverView+IngenuityDias+%25281%2529.jpg&quot; width=&quot;400&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The Recent Projects section shows solutions you have been working on&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The links in the Get Started tab provide information about the programming languages supported by Visual Studio and various learning resources&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;An Internet connection is required for the IDE to access most of this information&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The IDE also has an internal web browser&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Go to VIEW &amp;gt; Other Windows &amp;gt; Web Browser&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/02/microsoft-visual-basic-2012-programming.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/6708520590096084752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/02/microsoft-visual-basic-2012-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/6708520590096084752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/6708520590096084752'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/02/microsoft-visual-basic-2012-programming.html' title='Microsoft Visual Basic 2012 Programming for Industrial Applications-Basic Tutorial'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3fSgoRMf9_3ycj6odnmd-nABmtl414uKk3kKrUryrkYVwYI4b8L7vaRqqRqQIvJSp-Vil7WO3djvo2YZoZOSbz_7T1VrJUz-uxz4KfsXDl7qhBEUJR8XaZBddK3K3mIxpU1yIccD18ZpY/s72-c/Microsoft-Visual-Studio-2012+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-2904186632402084686</id><published>2016-01-13T12:09:00.002-08:00</published><updated>2016-03-02T13:59:31.501-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LDR"/><category scheme="http://www.blogger.com/atom/ns#" term="Photo"/><category scheme="http://www.blogger.com/atom/ns#" term="Photo-Resistors"/><category scheme="http://www.blogger.com/atom/ns#" term="Photocell"/><category scheme="http://www.blogger.com/atom/ns#" term="Photoelectric Effect"/><category scheme="http://www.blogger.com/atom/ns#" term="Physics-Tutorials"/><category scheme="http://www.blogger.com/atom/ns#" term="res"/><category scheme="http://www.blogger.com/atom/ns#" term="Resistors"/><category scheme="http://www.blogger.com/atom/ns#" term="Science Study Materials"/><category scheme="http://www.blogger.com/atom/ns#" term="Student Project"/><title type='text'>Photo Resistors Or Light Dependent Resistor ( LDR ) Science Tutorial</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP7xOLwWnynchjuLlSOlurn2Jkiwj0Qtgnkc8OjFUhqaCJrRWm8LiXWQCAXMQWJ02UkX5Fg2D69JTvzyzXy-1h-Pb9go1NWX2s9ZIBh-o2fiPTdoqPkrBQh46Dhbb6C0E9oIU2Xwl7dG7f/s1600/Photo-Cells-IngenuityDias.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;275&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP7xOLwWnynchjuLlSOlurn2Jkiwj0Qtgnkc8OjFUhqaCJrRWm8LiXWQCAXMQWJ02UkX5Fg2D69JTvzyzXy-1h-Pb9go1NWX2s9ZIBh-o2fiPTdoqPkrBQh46Dhbb6C0E9oIU2Xwl7dG7f/s400/Photo-Cells-IngenuityDias.gif&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;A photo-resistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The resistance of a photo-resistor decreases with increasing incident light intensity; in other words, it exhibits photo-conductivity. A photo-resistor can be applied in light-sensitive detector circuits, and light- and dark-activated switching circuits.&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;LDR (Light dependent resistor), as its name suggests, offers resistance in response to the ambient light. The resistance decreases as the intensity of incident light increases, and vice versa. In the absence of light, LDR exhibits a resistance of the order of mega-ohms which decreases to few hundred ohms in the presence of light. It can act as a sensor, since a varying voltage drop can be obtained in accordance with the varying light.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;LDR Light Sensor as Lamp Switch Using LED-&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/fWTEaTTkfG0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic7rRoX8bsdUNAN8pIPWNeUc3PLVTh7Vbwh-5n776IKn3W82KmEFJzqYhqLgrc2JLExFxJdLD6dqkdstfjiXn-qFKH56Qf8jD2xGIDupVSLA7h040z-R2LxjSNnsXX6spXfQkZVrdZhssD/s1600/LDR-IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic7rRoX8bsdUNAN8pIPWNeUc3PLVTh7Vbwh-5n776IKn3W82KmEFJzqYhqLgrc2JLExFxJdLD6dqkdstfjiXn-qFKH56Qf8jD2xGIDupVSLA7h040z-R2LxjSNnsXX6spXfQkZVrdZhssD/s1600/LDR-IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic7rRoX8bsdUNAN8pIPWNeUc3PLVTh7Vbwh-5n776IKn3W82KmEFJzqYhqLgrc2JLExFxJdLD6dqkdstfjiXn-qFKH56Qf8jD2xGIDupVSLA7h040z-R2LxjSNnsXX6spXfQkZVrdZhssD/s400/LDR-IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Material Used for Making LDR&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;An LDR or photo-resistor is made of any semiconductor material with a high resistance.It is made up of cadmium sulphide (CdS).An LDR has a zigzag cadmium sulphide track. It is a bilateral device, i.e., conducts in both directions in same fashion.Lead sulphide (PbS) and indium antimonide (InSb) LDRs (light-dependent resistors) are used for the mid-infrared spectral region. Ge:Cu photoconductors are among the best far-infrared detectors available, and are used for infrared astronomy and infrared spectroscopy.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;LDR Light Dependent Resistor using Photo Diode-&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/t_5W3ZqQycM&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;[next]&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Suggested Further Readings for Students:-&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.com/2014/01/types-of-resistors.html&quot;&gt;Types of Resistors&lt;/a&gt;&lt;u&gt;&lt;br&gt;&lt;/u&gt;1.&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Fixed resistors&lt;/a&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Carbon Composition Resistors&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Carbon film resistors&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Metal Film resistor&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Wire wound resistor&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Thin film and thick film resistors&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Surface mount resistor (SMT)&lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-fixed-resistors.html&quot;&gt;Network resistors &lt;/a&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2.&lt;span class=&quot;apple-converted-space&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-variable-resistors.html&quot;&gt;Variable resistors&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
     &lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt; &lt;/span&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-variable-resistors.html&quot; style=&quot;font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: x-large;&quot;&gt;Semi variable resistors&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: .0001pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. &lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-special-resistors.html&quot;&gt;Special resistors&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;      &lt;/span&gt;&lt;a href=&quot;http://techinventory.blogspot.in/2014/01/types-of-resistors-special-resistors.html&quot; style=&quot;font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: x-large;&quot;&gt;Thermistors&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;LDR - Priciple Of Working -How an LDR works? -Explain Working Of LDR with example.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;A photo-resistor is made of a high resistance semiconductor. In the dark, a photo-resistor can have a resistance as high as several megohms (MΩ), while in the light, a photo-resistor can have a resistance as low as a few hundred ohms.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;It is first necessary to understand that an electrical current consists of the movement of electrons within a material. Good conductors have a large number of free electrons that can drift in a given direction under the action of a potential difference. Insulators with a high resistance have very few free electrons, and therefore it is hard to make the them move and hence a current to flow.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;LDR-Resistance variation In Presence Of Light-&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/BsI4UjFYAjk&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;LDR has a high resistance because there are very few electrons that are free and able to move - the vast majority of the electrons are locked into the crystal lattice and unable to move.&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/01/photo-resistors-or-light-dependent.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/2904186632402084686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/01/photo-resistors-or-light-dependent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/2904186632402084686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/2904186632402084686'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/01/photo-resistors-or-light-dependent.html' title='Photo Resistors Or Light Dependent Resistor ( LDR ) Science Tutorial'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP7xOLwWnynchjuLlSOlurn2Jkiwj0Qtgnkc8OjFUhqaCJrRWm8LiXWQCAXMQWJ02UkX5Fg2D69JTvzyzXy-1h-Pb9go1NWX2s9ZIBh-o2fiPTdoqPkrBQh46Dhbb6C0E9oIU2Xwl7dG7f/s72-c/Photo-Cells-IngenuityDias.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-6190798382649741995</id><published>2016-01-03T23:01:00.003-08:00</published><updated>2016-03-02T14:00:43.076-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Common"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="TURBO"/><category scheme="http://www.blogger.com/atom/ns#" term="Viva"/><title type='text'>Common C Questions : TURBO C/C++ - Getting Started Answers to Common Questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-lR0B6mkDwHiSxoDSY-_WyiRJv84KARstNTQSk24IR9510r9qyNON2CLTjtyhrwHdKRvbEYhy57m7pe3jBZg28Ar137-TCMC56tmgCFPnODtP_bEMJFX6Jzr1rVdGY761ypED1_fTlJy/s1600/Common+C+Questions+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-lR0B6mkDwHiSxoDSY-_WyiRJv84KARstNTQSk24IR9510r9qyNON2CLTjtyhrwHdKRvbEYhy57m7pe3jBZg28Ar137-TCMC56tmgCFPnODtP_bEMJFX6Jzr1rVdGY761ypED1_fTlJy/s400/Common+C+Questions+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions:What potential problems can arise from typecasting a base class pointer into a derived class pointer so that the derived class&amp;#39;s member functions can be called?&lt;/span&gt;&lt;br&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers: Syntactically this is allowable. There is always a possibility of a base pointer actually pointing to a base class. If this is typecast to a derived type, the method being called may not exist in the base class. Therefore, you would be grabbing the address of a function that does not exist.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/11/turbo-cc-installer-and-installation.html&quot; style=&quot;font-family: times, &amp;#39;times new roman&amp;#39;, serif; font-size: x-large;&quot; target=&quot;_blank&quot;&gt;TURBO C/C++: Installer and Installation&lt;/a&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/12/integrated-environment-turbo-cc-getting.html&quot; target=&quot;_blank&quot;&gt;TURBO C/C++: &lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/12/integrated-environment-turbo-cc-getting.html&quot; style=&quot;font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;Integrated Environment&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/11/variables-pointer-array-and-files-c.html&quot; target=&quot;_blank&quot;&gt;Variables Pointer Array And Files&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/11/arrays-linked-list-sorting-wild-pointer.html&quot; target=&quot;_blank&quot;&gt;Arrays Linked List Sorting Wild Pointer&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;What&amp;#39;s the difference between the keywords STRUCT and CLASS?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers:The members of a STRUCT are PUBLIC by default, while in CLASS,they default to PRIVATE. They are otherwise functionally equivalent.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;400&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;600&quot;&gt;&lt;/iframe&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;[next]&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I have declared a derived class from a base class, but I can&amp;#39;t access any &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;of the base class members with the derived class function.&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers:Derived classes DO NOT get access to private members of a base class.In order to access members of a base class, the base class members must be declared as either public or protected. If they are public, then any portion of the program can access them. If they are protected, they are accessible by the class members, friends, and any derived classes.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;How can I use the Paradox Engine with C++?,&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers:Because the Paradox Engine functions are all compiled as C functions you will have to assure that the names of the functions do not get &amp;quot;mangled&amp;quot; by the C++ compiler. To do this you need to prototype the Engine functions as extern &amp;quot;C&amp;quot;. In the pxengine.h header file insert the following code at the lines indicated.&lt;br&gt;&lt;br&gt;/* inserted at line # 268 */&lt;br&gt;#ifdef __cplusplus&lt;br&gt;extern &amp;quot;C&amp;quot; {&lt;br&gt;#endif&lt;br&gt;/* inserted at line # 732, just before the final #endif */&lt;br&gt;#ifdef __cplusplus&lt;br&gt;}&lt;br&gt;#endif&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;I have a class that is derived from three base classes. Can I insure that &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;one base class constructor will be called before all other constructors?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers:If you declare the base class as a virtual base class, its constructor will be called before any non-virtual base class constructors. Otherwise the constructors are called in left-to-right order on the declaration line for the class.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Are the standard library I/O functions still available for use with &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;the C++ iostreams library?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers:Yes, using&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br&gt;functions such as printf() and scanf() will continue to be available.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;When debugging my program in Turbo Debugger, I notice that none of my &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;inline functions are expanded inline. Instead, they are all done as &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;function calls.&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers:Whenever you compile your program with debugging information included,no functions are expanded inline. To verify that your inline functions are indeed expanding inline, compile a module with the -S flag of the command-line compiler, then examine the .asm file that is generated.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2016/01/common-c-questions-turbo-cc-getting.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/6190798382649741995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2016/01/common-c-questions-turbo-cc-getting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/6190798382649741995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/6190798382649741995'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2016/01/common-c-questions-turbo-cc-getting.html' title='Common C Questions : TURBO C/C++ - Getting Started Answers to Common Questions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-lR0B6mkDwHiSxoDSY-_WyiRJv84KARstNTQSk24IR9510r9qyNON2CLTjtyhrwHdKRvbEYhy57m7pe3jBZg28Ar137-TCMC56tmgCFPnODtP_bEMJFX6Jzr1rVdGY761ypED1_fTlJy/s72-c/Common+C+Questions+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-4973023128447182489</id><published>2015-12-06T00:09:00.000-08:00</published><updated>2016-03-02T14:01:31.395-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Environment"/><category scheme="http://www.blogger.com/atom/ns#" term="Getting"/><category scheme="http://www.blogger.com/atom/ns#" term="Integrated"/><category scheme="http://www.blogger.com/atom/ns#" term="Integrated-Environment"/><category scheme="http://www.blogger.com/atom/ns#" term="Job"/><category scheme="http://www.blogger.com/atom/ns#" term="TURBO"/><category scheme="http://www.blogger.com/atom/ns#" term="Viva"/><title type='text'>Integrated Environment : TURBO C/C++ - Getting Started Answers to Common Questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbINOPgWIGPPpygvchwaVlK_22aeWCZm8KA0yq3I5INaYBrHcIazurhv6DDv5oBfjg_91WKjbG_sfS0_eAcrGmBEOSkrV7mvyspa-XYmyeP-sxSAfc9x2arSH2jZ7rGSAKgRQobIR__1S/s1600/TURBO+C-Integrated+Environment+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbINOPgWIGPPpygvchwaVlK_22aeWCZm8KA0yq3I5INaYBrHcIazurhv6DDv5oBfjg_91WKjbG_sfS0_eAcrGmBEOSkrV7mvyspa-XYmyeP-sxSAfc9x2arSH2jZ7rGSAKgRQobIR__1S/s320/TURBO+C-Integrated+Environment+IngenuityDias.png&quot; width=&quot;320&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Questions: Why is Turbo C++ not able to find any of my #include files?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers: The compiler searches for include files in the Turbo C++ Include Directories path. You can specify this path through the Options|Directories menu. The INSTALL program initially sets this path to the directory where it copied all the Turbo C++ *.h files.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/11/turbo-cc-installer-and-installation.html&quot; target=&quot;_blank&quot;&gt;TURBO C/C++: Installer and Installation&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Questions: Why do I get the message:&lt;br&gt;Linker Error: Unable to open input file &amp;#39;C0x.OBJ&amp;#39; A. The linker searches for Turbo C++ start-up and library files in the Turbo C++ Library Directories path.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answers: You can specify this path through the Options|Directories menu. The INSTALL program initially sets this path to the directory where it copied the start-up and library files.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Questions: How do I get Turbo C++ to link in my own libraries or use multiple source files?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers: Turbo C++&amp;#39;s Project facility is designed to allow you to work with multiple files.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;[next]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Questions: Why does the linker tell me that all the graphics library routines are undefined?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers: The Options|Linker|Graphics Library item must be set ON, if you are using any Turbo C++ graphics functions and have not specified GRAPHICS.LIB in a project file.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Questions: Why does Turbo C++ report &amp;quot;Unable to open include file &amp;#39;stdarg.h&amp;#39;&amp;quot; when I try to #include &amp;lt;stdio.h&amp;gt;?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers: The most probable reason is that you have exceeded the number of files that DOS can have open simultaneously. Add the line FILES=20 to your DOS CONFIG.SYS file. This allows DOS to open up to 20 files at the same time. CONFIG.SYS will only be effective after you have rebooted your computer. See the IBM DOS Reference Manual for details on the CONFIG.SYS file.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Questions: How do I change the colors of the editor and menus in TC?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers: The utility TCINST.EXE allows you to customize your colors.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;Questions: How do I get a listing of my source code to my printer?&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answers: From within the Turbo C++ editor press Ctrl-K-P. This will print a marked block to the printer. If no block is marked, this key sequence will print the entire file in your editor.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/12/integrated-environment-turbo-cc-getting.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/4973023128447182489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/12/integrated-environment-turbo-cc-getting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/4973023128447182489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/4973023128447182489'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/12/integrated-environment-turbo-cc-getting.html' title='Integrated Environment : TURBO C/C++ - Getting Started Answers to Common Questions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbINOPgWIGPPpygvchwaVlK_22aeWCZm8KA0yq3I5INaYBrHcIazurhv6DDv5oBfjg_91WKjbG_sfS0_eAcrGmBEOSkrV7mvyspa-XYmyeP-sxSAfc9x2arSH2jZ7rGSAKgRQobIR__1S/s72-c/TURBO+C-Integrated+Environment+IngenuityDias.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-7912701010541927924</id><published>2015-11-30T12:47:00.004-08:00</published><updated>2016-03-02T14:02:29.732-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Installation"/><category scheme="http://www.blogger.com/atom/ns#" term="Installer"/><category scheme="http://www.blogger.com/atom/ns#" term="Job"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="TURBO"/><title type='text'>TURBO C/C++: Installer and Installation - Getting Started Answers to Common Questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUqXpGLN6J2HvTe9ssCypM_SXKnaec3KBimbR5ekmqsZkxwUF1mQ_Z6Jkwg8bptT01HVP2cij6VdDiv3rIazgDMR9BGuB3pbZQkcp9lln_kOTtvMQonCn4_eCYQJ5BgU-zWc51267AL4sJ/s1600/Turbo_c_plus_plus+Installation+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUqXpGLN6J2HvTe9ssCypM_SXKnaec3KBimbR5ekmqsZkxwUF1mQ_Z6Jkwg8bptT01HVP2cij6VdDiv3rIazgDMR9BGuB3pbZQkcp9lln_kOTtvMQonCn4_eCYQJ5BgU-zWc51267AL4sJ/s400/Turbo_c_plus_plus+Installation+IngenuityDias.png&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;This post is for beginners who are either trying to use Turbo C/C++ for programming. Some frequently encountered problem and theirs solution in following series is presented as Getting Started in TURBO C/C++.Please give your valuable feedback to improve usability of this post.Thank You.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Related Readings&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/11/variables-pointer-array-and-files-c.html&quot; target=&quot;_blank&quot;&gt;Variables Pointer Array And Files&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/c-programming-interview-questions.html&quot; style=&quot;text-align: left;&quot; target=&quot;_blank&quot;&gt;C Programming Basic Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/03/dangling-and-wild-pointers-embedded-c.html&quot; style=&quot;text-align: left;&quot; target=&quot;_blank&quot;&gt;Dangling and Wild Pointers&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/08/differences-between-mutex-and-semaphore.html&quot; target=&quot;_blank&quot;&gt;Differences between Mutex And Semaphore&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/05/difference-between-process-and-thread.html&quot; target=&quot;_blank&quot;&gt;Difference Between Process and Thread&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;u&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Getting Started in TURBO C/C++&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;[next]&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Question: How do I
install Turbo C++?&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;
&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answer: Run the INSTALL program from the INSTALL/HELP disk. To start the installation, change your current drive to the one that has the install program on it and type INSTALL. You will be given instructions in a box at the bottom of the screen for each prompt. For example, if you will be installing from drive A:, type:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;

&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;       A:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;       INSTALL&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;At this point, the INSTALL program will
appear with menus selections and descriptions to guide you
through the installation process.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Question: &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;How do I run Turbo C++?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Answer:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;After you have installed Turbo C++, type
&amp;quot;TC&amp;quot; from the DOS prompt and you&amp;#39;re ready to go.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Question:&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;What is the difference between TC.EXE and
TCC.EXE?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Answer:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The Turbo C++ package comes with two
compilers, an Integrated &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Environment named TC.EXE and a command-line
compiler named &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;TCC.EXE. The Integrated Environment
combines the command-line &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;compiler with an integrated editor, linker,
debugger, and other &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;useful features (such as pop-up and
pull-down menus, full keyword &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;and mouse support, and so on). The
command-line version runs from &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;the DOS command line. Please refer to the
Turbo C++ User&amp;#39;s Guide &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;for details on using both systems.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/11/turbo-cc-installer-and-installation.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/7912701010541927924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/turbo-cc-installer-and-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7912701010541927924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7912701010541927924'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/turbo-cc-installer-and-installation.html' title='TURBO C/C++: Installer and Installation - Getting Started Answers to Common Questions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUqXpGLN6J2HvTe9ssCypM_SXKnaec3KBimbR5ekmqsZkxwUF1mQ_Z6Jkwg8bptT01HVP2cij6VdDiv3rIazgDMR9BGuB3pbZQkcp9lln_kOTtvMQonCn4_eCYQJ5BgU-zWc51267AL4sJ/s72-c/Turbo_c_plus_plus+Installation+IngenuityDias.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-5252116281849886140</id><published>2015-11-28T02:26:00.001-08:00</published><updated>2015-11-28T02:26:15.359-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Files"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Job"/><category scheme="http://www.blogger.com/atom/ns#" term="Pointer"/><category scheme="http://www.blogger.com/atom/ns#" term="Variables"/><title type='text'>Variables Pointer Array And Files - C Programming Questions For Job Interview</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpztdy0OMNrq2b6d7M9jYNbbqCL2G_iJsXdc3oKhZdTi_rZc-2DvRsXnkMYEmqNxWyJW-fRudPRGDUN4C1o9xJ7ssKDJGJNBuTX_bafOp3xtMYHZo1uTN-2eCNwYkxpOvTr3ofclZoZplp/s1600/C+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpztdy0OMNrq2b6d7M9jYNbbqCL2G_iJsXdc3oKhZdTi_rZc-2DvRsXnkMYEmqNxWyJW-fRudPRGDUN4C1o9xJ7ssKDJGJNBuTX_bafOp3xtMYHZo1uTN-2eCNwYkxpOvTr3ofclZoZplp/s320/C+IngenuityDias.jpg&quot; width=&quot;310&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1. How will you change the value of a constant variable in C?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer: &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Constant can be changed by using the pointer. Initialize a pointer to point to the value of a and then change the value using the pointer. &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;int main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;const int = 5;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;printf(&amp;quot;%d&amp;quot;, a);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;int *k = (int *) &amp;amp;a;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;*k = 10;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;printf(&amp;quot;%d&amp;quot;, *k);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;printf(&amp;quot;%d&amp;quot;, a);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;return 0;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2. What is the output of the following program?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#define SQR(x) (x*x)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int a, b = 3;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a = SQR(b + 2);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(&amp;quot;%d&amp;quot;, a);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a) 25&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b) 11&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c) Error&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d) Garbage Value&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Answer: b) 11.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Since it passes like (3+2) to #define, where it calculates as (3+2 * 3+2), as 1st preference is multiply &amp;amp; then addition, it evaluates as (3+ 2 * 3 +2) = (3+6+2)=11.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. What is the output of the following code?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;if ((1 || 0) &amp;amp;&amp;amp; (0 || 1)) {&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(&amp;quot;OK I am done.&amp;quot;);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;} else {&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(&amp;quot;OK I am gone.&amp;quot;);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a) none of the above&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b) compile error&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c) OK I am gone&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d) OK I am done&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer: d)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;((1 || 0) &amp;amp;&amp;amp; (0 || 1)) will be:&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;(( 1 ) &amp;amp;&amp;amp; ( 1 ))&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;(1 &amp;amp;&amp;amp; 1) =&amp;gt;1: so will print: OK I am done.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4. What is the difference between structure &amp;amp; union?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer :&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1. Union allocates the memory equal to the maximum memory required by the member of the union but structure allocates the memory equal to the total memory required by the members.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;2. In union, one block is used by all the member of the union but in case of structure, each member has its own memory space.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;3. Union is best in the environment where memory is less as it shares the memory allocated. But structure cannot be implemented in shared memory.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;4. As memory is shared, ambiguity is more in union, but less in structure.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;5. Self-referential union cannot be implemented in any data structure, but self-referential structure can be implemented.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5. What is a wild pointer?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer:&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Wild pointer is a pointer that doesn&amp;#39;t point to either a valid object (of the indicated type, if applicable), or to a distinguished null value, if applicable.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/c-programming-interview-questions.html&quot; target=&quot;_blank&quot;&gt;C Programming Basic Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/embedded-c-programming-twenty-interview.html&quot; style=&quot;font-family: times, &amp;#39;times new roman&amp;#39;, serif; font-size: x-large;&quot; target=&quot;_blank&quot;&gt;Array in Embedded C&lt;/a&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/07/programming-c-viva-questions-for.html&quot; target=&quot;_blank&quot;&gt;C Programming Viva Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/03/dangling-and-wild-pointers-embedded-c.html&quot; target=&quot;_blank&quot;&gt;Dangling and Wild Pointers&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/03/variables-and-pointers-volatile-or.html&quot; target=&quot;_blank&quot;&gt;Variables and Pointers Volatile Or Constant&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/01/embedded-c-programming-basic-questions.html&quot; target=&quot;_blank&quot;&gt;C Questions for Job Interview&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/11/variables-pointer-array-and-files-c.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/5252116281849886140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/variables-pointer-array-and-files-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/5252116281849886140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/5252116281849886140'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/variables-pointer-array-and-files-c.html' title='Variables Pointer Array And Files - C Programming Questions For Job Interview'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpztdy0OMNrq2b6d7M9jYNbbqCL2G_iJsXdc3oKhZdTi_rZc-2DvRsXnkMYEmqNxWyJW-fRudPRGDUN4C1o9xJ7ssKDJGJNBuTX_bafOp3xtMYHZo1uTN-2eCNwYkxpOvTr3ofclZoZplp/s72-c/C+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-5644734304651916206</id><published>2015-11-12T00:13:00.000-08:00</published><updated>2016-03-01T22:38:37.137-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="BSS Data Segment"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Linked"/><category scheme="http://www.blogger.com/atom/ns#" term="Linked List"/><category scheme="http://www.blogger.com/atom/ns#" term="List"/><category scheme="http://www.blogger.com/atom/ns#" term="Pointer"/><category scheme="http://www.blogger.com/atom/ns#" term="Sorting"/><category scheme="http://www.blogger.com/atom/ns#" term="Switch"/><category scheme="http://www.blogger.com/atom/ns#" term="Wild Pointer"/><title type='text'>Arrays Linked List Sorting Wild Pointer Job Interview Questions For Embedded C</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicyqSf4BXpcv-G2-koMkDYVxrtCDTC7kgsG3y2dz3bHwGCH_K1Gm9uBNJll1tyMuw_oNA9Frup-upJZfDo_s1Aej7LyC9po8hb2WnXXj1OuIoKfercXPBSSMyV4jKa0eVmw7CuziE7N27-/s1600/Arrays+Linked+List+Sorting+Wild+Pointer+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicyqSf4BXpcv-G2-koMkDYVxrtCDTC7kgsG3y2dz3bHwGCH_K1Gm9uBNJll1tyMuw_oNA9Frup-upJZfDo_s1Aej7LyC9po8hb2WnXXj1OuIoKfercXPBSSMyV4jKa0eVmw7CuziE7N27-/s400/Arrays+Linked+List+Sorting+Wild+Pointer+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1. What are the differences between Arrays and Linked List&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer:-&lt;/span&gt;&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Arrays and Linked list both are list data structures used for maintaining a list of values. Arrays use sequential allocation while Linked list uses linked allocation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Linked list uses some extra memory i.e. link pointer.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Indexing an element, e.g. accessing kth element is cheaper in arrays and costly in Linked list.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Insertion and Deletion of elements is a cheaper operation in Linked lists.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Since nodes in Linked list are dynamically allocated, it has no limitations on growth (apart from memory constraints).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Merging Lists is easier in case of Linked lists.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Breaking a List into two or more lists is easier in case of Linked lists. So Linked list is a better data structure in most cases. Arrays are good mostly for static data structures.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/02/data-declarations-and-qualifiers.html&quot; target=&quot;_blank&quot;&gt;Data Declarations And qualifiers&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/02/what-is-storage-class-embedded-c.html&quot; target=&quot;_blank&quot;&gt;What is Storage class&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/01/c-programming-questions-for-job.html&quot; target=&quot;_blank&quot;&gt;Programming Questions for Job Interview&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2012/01/connections-for-atmega1632-controllers.html&quot; target=&quot;_blank&quot;&gt;Connections For Atmega16/32 Controllers for Serial Communication&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2. What is a wild pointer?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer:-Wild pointer is a pointer that doesn&amp;#39;t point to either a valid object (of the indicated type, if applicable), or to a distinguished null value, if applicable.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;400&quot; src=&quot;https://www.youtube.com/embed/-wR1UKdJAiE&quot; width=&quot;600&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. What is a BSS Data Segment?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer:-BSS, a part of Data Segment store all variables initialized to 0. Static variable(initialized with value other than 0) are not stored in BSS.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;BSS is an &amp;quot;Uninitialized RAM&amp;quot; which is initialized to 0 before executing main().&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4. When is a switch statement better than multiple if statements?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Answer:-In multiple if statements the conditions are to checked as many times the if statements are written whereas in switch condition the condition is checked only once and jumps to required block .&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5. How many types of sorting are there in C?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Answer:-&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Basically sorting are of two types only:&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;A. Position Based&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;1. Selection sort&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;2. Radix sort&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;3. Bucket sort, etc.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;B. Comparison Based&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;1. Bubble sort&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;2. Quick sort&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;3. Merge sort&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;4. Binary sort, etc.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/11/arrays-linked-list-sorting-wild-pointer.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/5644734304651916206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/arrays-linked-list-sorting-wild-pointer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/5644734304651916206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/5644734304651916206'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/arrays-linked-list-sorting-wild-pointer.html' title='Arrays Linked List Sorting Wild Pointer Job Interview Questions For Embedded C'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicyqSf4BXpcv-G2-koMkDYVxrtCDTC7kgsG3y2dz3bHwGCH_K1Gm9uBNJll1tyMuw_oNA9Frup-upJZfDo_s1Aej7LyC9po8hb2WnXXj1OuIoKfercXPBSSMyV4jKa0eVmw7CuziE7N27-/s72-c/Arrays+Linked+List+Sorting+Wild+Pointer+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-8142686542305346536</id><published>2015-11-09T01:53:00.005-08:00</published><updated>2016-03-01T22:41:19.569-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Argument"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Function"/><category scheme="http://www.blogger.com/atom/ns#" term="Function In C"/><category scheme="http://www.blogger.com/atom/ns#" term="Variables"/><category scheme="http://www.blogger.com/atom/ns#" term="Variables in C"/><title type='text'>Function Argument Variables In C Programming Job Interview Question and Answers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQWetK1-KpicS2dai_HsiiO_v2n-91LQnztKyUCCLBk0gfdquMM7Tz0ZrfgQaWOWDA39Rlio0MP5YdnO51Dfr-tAy9VYRtv8diCWYd79RJqjcZ6E-d3IfyonlcT_7__fyxcxPC836Yo3WK/s1600/C+Program+Job+Interview+Question+and+Answers+IngenuityDias.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;93&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQWetK1-KpicS2dai_HsiiO_v2n-91LQnztKyUCCLBk0gfdquMM7Tz0ZrfgQaWOWDA39Rlio0MP5YdnO51Dfr-tAy9VYRtv8diCWYd79RJqjcZ6E-d3IfyonlcT_7__fyxcxPC836Yo3WK/s400/C+Program+Job+Interview+Question+and+Answers+IngenuityDias.gif&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1. What is the purpose of main() function?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Answer:-&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;main() is the user-defined function. main() is the first function in the program, which gets called when the program executes. The startup code contains runmain() function, which calls main() function, we can&amp;#39;t change the name of the main() function.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/08/function-programming-in-c-job-interview.html&quot; target=&quot;_blank&quot;&gt;Function Programming In C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/embedded-c-programming-twenty-interview.html&quot; target=&quot;_blank&quot;&gt;Programming Twenty Interview Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/07/programming-c-viva-questions-for.html&quot; target=&quot;_blank&quot;&gt;C Viva Questions for Engineering Freshers&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/07/variable-function-structure-pointer-c.html&quot; target=&quot;_blank&quot;&gt;Function And Pointers&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2. What is an argument? Differentiate between formal arguments and actual arguments?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Answer:-&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The actual arguments are the arguments with which the function can be called. The formal arguments are the arguments with which the function can be defined. In simple words, function call contains actual arguments and function definition contains formal arguments.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;400&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;600&quot;&gt;&lt;/iframe&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3. What is the difference between character array and string in C?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Answer:-&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The major difference between the char array and the string is that the array will not end with the null, whereas string ends with the null.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4. Is it possible to print colors with printf statements?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Answer:-&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Yes, there are already ready made functions in header file conio.h&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;textcolor(5) will change the color to the pink. Similarly by changing the value we get different colors.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5. What is the type of the variable b in the following declaration?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#define FLOATPTR float*&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;FLOATPTR a, b;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a) float&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b) float pointer&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c) int&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d) int pointer&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Answer:-&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;float-The statement FLOATPTR a,b; becomes float* a,b; Here &amp;quot;a&amp;quot; is a float pointer, but &amp;quot;b&amp;quot; is just an float variable, so the correct type for &amp;quot;b&amp;quot; is &amp;quot;float&amp;quot;, and not &amp;quot;float-pointer&amp;quot;. The above problem demonstrate the drawback of using #define constant. To avoid this situation use typedef&amp;#39;s in place of #define.&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/11/function-argument-variables-in-c.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/8142686542305346536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/function-argument-variables-in-c.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8142686542305346536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8142686542305346536'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/function-argument-variables-in-c.html' title='Function Argument Variables In C Programming Job Interview Question and Answers'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQWetK1-KpicS2dai_HsiiO_v2n-91LQnztKyUCCLBk0gfdquMM7Tz0ZrfgQaWOWDA39Rlio0MP5YdnO51Dfr-tAy9VYRtv8diCWYd79RJqjcZ6E-d3IfyonlcT_7__fyxcxPC836Yo3WK/s72-c/C+Program+Job+Interview+Question+and+Answers+IngenuityDias.gif" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-1021110083252986055</id><published>2015-11-04T09:44:00.002-08:00</published><updated>2016-03-01T07:47:31.720-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Auto"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Classes"/><category scheme="http://www.blogger.com/atom/ns#" term="Extern"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Register"/><category scheme="http://www.blogger.com/atom/ns#" term="Static"/><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><category scheme="http://www.blogger.com/atom/ns#" term="Storage class in C"/><title type='text'>Storage Classes in C - Types And Classification Languages Programming Tutorials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXgxUzIetD5wYSapMQXQlZg3PbsG5IW3cjLELtCc1BW9a5uDzbdWTxM60zr_nTKCWHUYXAcs1aH6p411sSDH3vQb-1VQ4OlyEsecJP0kG5mKWTSSoOjKTvVvYmDQtq7R2gFWSY07ryGVFS/s1600/Storage+Classes+in+C+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXgxUzIetD5wYSapMQXQlZg3PbsG5IW3cjLELtCc1BW9a5uDzbdWTxM60zr_nTKCWHUYXAcs1aH6p411sSDH3vQb-1VQ4OlyEsecJP0kG5mKWTSSoOjKTvVvYmDQtq7R2gFWSY07ryGVFS/s400/Storage+Classes+in+C+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Storage Classes in C-A storage class defines the scope (visibility) and life time of variables and/or&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;functions within a C Program..Two types of storage classes are there in c as explained below&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;1. Auto&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;2. Static&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;https://www.indiblogger.in/indipost.php?post=538456&quot; title=&quot;Indian Bloggers&quot;&gt;
&lt;img alt=&quot;Indian Bloggers&quot; border=&quot;0&quot; height=&quot;96&quot; src=&quot;https://cdn.indiblogger.in/badges/235x96_top-indivine-post.png&quot; width=&quot;235&quot;&gt;
&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Storage class specifiers are&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;1. Auto&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;2. Static&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;3. Extern&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;4. Register&lt;/span&gt;&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Auto - Storage Class&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;-Auto is automatic class. resides in stack.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;auto is the default storage class for all local variables.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int Count;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;auto int Month;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;The example above defines two variables with the same storage class. auto can&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;only be used within functions, i.e. local variables.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/variable-function-structure-pointer-c.html&quot; target=&quot;_blank&quot;&gt;Variable Function Structure Pointer in C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/programming-c-viva-questions-for.html&quot; target=&quot;_blank&quot;&gt;Programming - C Viva Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/embedded-c-programming-twenty-interview.html&quot; target=&quot;_blank&quot;&gt;Function  in Embedded C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2013/01/embedded-c-programming-basic-questions.html&quot; target=&quot;_blank&quot;&gt;C Programming Basic Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/embedded-c-programming-twenty-interview.html&quot; target=&quot;_blank&quot;&gt;Array in Embedded C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/arrays-and-pointer-in-c-programming-job.html&quot; target=&quot;_blank&quot;&gt;Arrays And Pointer in C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;Register - Storage Class&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;-Register is used to define local variables that should be stored in a register instead&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;of RAM. This means that the variable has a maximum size equal to the register size (usually one word) and cant have the unary &amp;#39;&amp;amp;&amp;#39; operator applied to it (as it does not have a memory location).Fast access but limited.Reside in CPU registers details.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/11/storage-classes-in-c-types-and.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/1021110083252986055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/storage-classes-in-c-types-and.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/1021110083252986055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/1021110083252986055'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/11/storage-classes-in-c-types-and.html' title='Storage Classes in C - Types And Classification Languages Programming Tutorials'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXgxUzIetD5wYSapMQXQlZg3PbsG5IW3cjLELtCc1BW9a5uDzbdWTxM60zr_nTKCWHUYXAcs1aH6p411sSDH3vQb-1VQ4OlyEsecJP0kG5mKWTSSoOjKTvVvYmDQtq7R2gFWSY07ryGVFS/s72-c/Storage+Classes+in+C+IngenuityDias.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-7543090794667369822</id><published>2015-10-09T21:35:00.002-07:00</published><updated>2015-10-09T21:35:56.545-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Characteristics"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Mutex"/><category scheme="http://www.blogger.com/atom/ns#" term="Semaphore"/><category scheme="http://www.blogger.com/atom/ns#" term="Systems"/><category scheme="http://www.blogger.com/atom/ns#" term="Types"/><title type='text'>Embedded Systems Characteristics Types Components And Watchdog Timer Interview Questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-zE565TAhslZuMxeoWawPT7mRMPHoccwxJWQX29jEMAT69gPUb5rvweHLYHIb1qr5SS8K3WNpsj6BUzle0c8lHSm3oBvuah0s2aBGL41AwspA-QYWzB7wILn4fmidULGT2SdUnRYuivlK/s1600/Embedded+Systems+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-zE565TAhslZuMxeoWawPT7mRMPHoccwxJWQX29jEMAT69gPUb5rvweHLYHIb1qr5SS8K3WNpsj6BUzle0c8lHSm3oBvuah0s2aBGL41AwspA-QYWzB7wILn4fmidULGT2SdUnRYuivlK/s400/Embedded+Systems+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;1. What is an Embedded Systems?&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;Ans. An embedded system is a special purpose computer system which is completely encapsulated by device it control. It is a programmed hardware device in which the hardware chip is programmed with specific function. It is a combination of hardware and software.&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;2. What are the characteristics of embedded system? &lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;Ans. The Characteristics of the embedded systems are as follows-&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;1. Sophisticated functionality&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;2. Real time behavior&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;3. Low manufacturing cost&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;4. Low power consumption&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;5. User friendly&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;6. Small size&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2014/05/mutex-computer-science-tutorial.html&quot; target=&quot;_blank&quot;&gt;Mutex&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2014/05/semaphores-computer-science-tutorial.html&quot; target=&quot;_blank&quot;&gt;Semaphores&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2014/05/mutual-exclusion-problems-with-mutex.html&quot; target=&quot;_blank&quot;&gt;Mutual Exclusion Problems with Mutex and Semaphore&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/structures-unions-enumeration.html&quot; target=&quot;_blank&quot;&gt;Structures Unions Enumeration&lt;/a&gt;&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/interview-questions-embedded-systems.html&quot; target=&quot;_blank&quot;&gt;Interview Questions Embedded Systems&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/embedded-systems-interview-questions.html&quot; target=&quot;_blank&quot;&gt;Embedded Systems Questions  for Engineering&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/embedded-electronics-interview.html&quot; target=&quot;_blank&quot;&gt;Embedded Electronics - Interview Questions&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/embedded-programming-interview.html&quot; target=&quot;_blank&quot;&gt;Embedded Programming Questions&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;3. What are the types of embedded system? &lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;Ans. They are of 4 types&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;1. General computing&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;2. Control System&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;3. Digital Signal Processing&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;4. Communication and network&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;4. What is digital signal controller ?&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;Ans. DSC is 16 bit RISC machine that combines control advantages of micro-controller and digital signal processing to produce tightly coupled single chip-single instruction stream solution for embedded system design.&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif;&quot;&gt;5. What are the components of embedded system?&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif;&quot;&gt;Ans. Microcontroller, microprocessor, DSC, DSP, busses, system clock, Read only Memory(ROM), RAM, Real time clock these are the components of embedded system.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/10/embedded-systems-characteristics-types.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/7543090794667369822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/10/embedded-systems-characteristics-types.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7543090794667369822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7543090794667369822'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/10/embedded-systems-characteristics-types.html' title='Embedded Systems Characteristics Types Components And Watchdog Timer Interview Questions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-zE565TAhslZuMxeoWawPT7mRMPHoccwxJWQX29jEMAT69gPUb5rvweHLYHIb1qr5SS8K3WNpsj6BUzle0c8lHSm3oBvuah0s2aBGL41AwspA-QYWzB7wILn4fmidULGT2SdUnRYuivlK/s72-c/Embedded+Systems+IngenuityDias.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-1341928159341388035</id><published>2015-08-02T15:01:00.000-07:00</published><updated>2015-09-05T06:40:06.886-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Function"/><category scheme="http://www.blogger.com/atom/ns#" term="Function In C"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Pointer in C"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Function Programming In C -Job Interview Frequently Asked Question and Answer Collection</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgChBYZZcrTGss-V0Fw2hDVToMkHUnCLoXt89w72IU3dlUSpivEvssh8Oxizwm8VN0RkokxdYUACpXQCwou6kek8kff3phpt8FcySNmySDi9mHnAdmAcFAjDWAgOU9FglV0yLee6nQpFjSP/s1600/Function+Programming+In+C+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgChBYZZcrTGss-V0Fw2hDVToMkHUnCLoXt89w72IU3dlUSpivEvssh8Oxizwm8VN0RkokxdYUACpXQCwou6kek8kff3phpt8FcySNmySDi9mHnAdmAcFAjDWAgOU9FglV0yLee6nQpFjSP/s400/Function+Programming+In+C+IngenuityDias.png&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;Collection of most Frequently Asked &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;Placement questions and Answers&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt; for Function&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt; and Pointer in C Programing in Practical viva in Engineering or Job interview for Hardware Programmer.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/variable-function-structure-pointer-c.html&quot; target=&quot;_blank&quot;&gt;Variable Function Structure Pointer in C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/programming-c-viva-questions-for.html&quot; target=&quot;_blank&quot;&gt;Programming - C Viva Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/embedded-c-programming-twenty-interview.html&quot; target=&quot;_blank&quot;&gt;Function  in Embedded C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;1.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;How to declare a pointer to a function?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Int *(fp)()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Int (*fp)()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Int * (fp)()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/BiZ0iHpyWhM/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;350&quot; src=&quot;https://www.youtube.com/embed/BiZ0iHpyWhM?feature=player_embedded&quot; width=&quot;450&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;2.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;What is the difference between “extern int function_name();” and “int &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;function_name();”&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;First is to access other function which is outside of the scope of program &amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;second is to access the simple function.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;First is to access the simple function &amp;amp; second is to access other function which &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;is outside of the scope of program.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Both are same.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;3.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;How to declare an array of N pointers to functions returning pointers to &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;functions returning pointers to characters?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Char *(*(*a[N])))&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Char (*(*(*a[N])))&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Char (*(*a[N]))&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;4.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Can we declare a function that can return a pointer to a function of the same &lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: Times, &amp;#39;Times New Roman&amp;#39;, serif; font-size: large;&quot;&gt;type?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Yes&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;No, we cannot do it directly&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;5.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Function vprintf() uses the functionality of which header file?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Stadgs.h&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Stdarg.h&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Stdio.h&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;6.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;What does the error, invalid redeclaration of a function mean?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;There is no declaration in scope,&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;There are multiple declarations&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Function is invalid&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/08/function-programming-in-c-job-interview.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/1341928159341388035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/08/function-programming-in-c-job-interview.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/1341928159341388035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/1341928159341388035'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/08/function-programming-in-c-job-interview.html' title='Function Programming In C -Job Interview Frequently Asked Question and Answer Collection'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgChBYZZcrTGss-V0Fw2hDVToMkHUnCLoXt89w72IU3dlUSpivEvssh8Oxizwm8VN0RkokxdYUACpXQCwou6kek8kff3phpt8FcySNmySDi9mHnAdmAcFAjDWAgOU9FglV0yLee6nQpFjSP/s72-c/Function+Programming+In+C+IngenuityDias.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-6237075139520525000</id><published>2015-07-29T18:54:00.001-07:00</published><updated>2015-12-14T01:40:07.678-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Pointer"/><category scheme="http://www.blogger.com/atom/ns#" term="Pointer in C"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Arrays And Pointer in C Programming -Job Interview Frequently Asked Question</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgV4sotNjMaKnr_IKrhrUcVIZFVMTJtxzl7_qIFTBMXx6o0klzKzeY_vnLtQK9f0q8bzcmYvNaQWBxsQUiZ5MGy6PNbgsX0HvvByp20WjmSRjI7se2718xRamYkb_m3k1iR8kyKAN3lxiV/s1600/Arrays+And+Pointer+in+C+Programming+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgV4sotNjMaKnr_IKrhrUcVIZFVMTJtxzl7_qIFTBMXx6o0klzKzeY_vnLtQK9f0q8bzcmYvNaQWBxsQUiZ5MGy6PNbgsX0HvvByp20WjmSRjI7se2718xRamYkb_m3k1iR8kyKAN3lxiV/s320/Arrays+And+Pointer+in+C+Programming+IngenuityDias.png&quot; width=&quot;294&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Collection of most Frequently Asked Question for Array and Pointer in C Programing in Practical viva in Engineering or job interview to a candidate.&lt;/span&gt;&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2013/01/embedded-c-programming-basic-questions.html&quot; target=&quot;_blank&quot;&gt;C Programming Basic Questions&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/06/embedded-c-programming-twenty-interview.html&quot; target=&quot;_blank&quot;&gt;Array in Embedded C&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.What is the output of the program?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int a[] = {0, 0X4, 4, 9};&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int i = 2;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(“%d %d”, a[i], i[a]);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;0 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;2 0&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;4 0&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;4 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/-wR1UKdJAiE&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2.What is the value of i in the following code?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int i = strlen(“BLUE”) + strlen(“PURPLE”) / strlen(red) – strlen(green);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(“%d”, i); &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-1.666&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3.What is the output of the following code?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int cap(int);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int n; n = cap(6);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(“%d”, n);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int cap(int n)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;if (n &amp;lt;=1) return 1;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;else return(cap(n -3) + cap(n-1));&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;7&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;8&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;9&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;10&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: C&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4.Which of the following is the correct way to access the last element of the array arr, if arr is declared as int arr[3][3][4]?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;*(*( (arr + 2 ) + 2) + 4)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;*(*( *(arr + 3 ) + 3) + 4) &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;*(*( *(arr + 2 ) + 3) + 4)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;*(*( *(arr + 2 ) + 2) + 3)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5.Which of the following is the correct output for the program given below?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int size;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;scanf(“%d”, &amp;amp;size);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int arr[size];&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;for(i =1; I &amp;lt;= size; i++)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;scanf(“%d”, arr[i]);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(“%d”, arr[i]);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;return 0;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code is erroneous science the subscript for array used in for loop is in the range 1 to size.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code is erroneous science the values of array are getting scanned through a loop.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code is erroneous science the statement declaring array is invalid.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code is correct and runs successfully. &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: C&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/arrays-and-pointer-in-c-programming-job.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/6237075139520525000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/arrays-and-pointer-in-c-programming-job.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/6237075139520525000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/6237075139520525000'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/arrays-and-pointer-in-c-programming-job.html' title='Arrays And Pointer in C Programming -Job Interview Frequently Asked Question'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgV4sotNjMaKnr_IKrhrUcVIZFVMTJtxzl7_qIFTBMXx6o0klzKzeY_vnLtQK9f0q8bzcmYvNaQWBxsQUiZ5MGy6PNbgsX0HvvByp20WjmSRjI7se2718xRamYkb_m3k1iR8kyKAN3lxiV/s72-c/Arrays+And+Pointer+in+C+Programming+IngenuityDias.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-8871199610581490355</id><published>2015-07-24T17:21:00.001-07:00</published><updated>2015-12-14T00:44:01.620-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Files"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Preprocessors"/><category scheme="http://www.blogger.com/atom/ns#" term="Viva"/><title type='text'>Files and Preprocessors in C - Viva Interview for Engineering Freshers Basics Tutorials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmj9B13nG0KxGgiOK1bzkAA2juN0l0oZKE2TZqutYIBcBTU7B3DMmxOWFvuEjrS3nDFVnC9H94HSIZPxo36JOgSiSbZ3Efsi20V-h6ioEY01TlIzyIYLj2hH2_mdW4e5vke-frYY31YEkT/s1600/Files+and+Preprocessors+in+C+IngenuityDias.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmj9B13nG0KxGgiOK1bzkAA2juN0l0oZKE2TZqutYIBcBTU7B3DMmxOWFvuEjrS3nDFVnC9H94HSIZPxo36JOgSiSbZ3Efsi20V-h6ioEY01TlIzyIYLj2hH2_mdW4e5vke-frYY31YEkT/s400/Files+and+Preprocessors+in+C+IngenuityDias.gif&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.Identify the token pasting operator?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)+&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)++&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)#&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)##&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2.What is the value of CAR in the following Statement?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;enum vehicle&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{BUS, SCOOTER = 2, CAR, TRAIN = 5, AEROPLANE = 6}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)0&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: C&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;400&quot; src=&quot;https://www.youtube.com/embed/veRcGhDZB7k&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3.Given the following declaration identify the correct definition.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;typedef struct node&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int id;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;char name[20];&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;};&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)node n;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)NODE n;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)typedef NODE n;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)typedef node n;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;


&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;https://www.indiblogger.in/indipost.php?post=532241&quot; title=&quot;Indian Bloggers&quot;&gt;
&lt;img alt=&quot;Indian Bloggers&quot; border=&quot;0&quot; height=&quot;96&quot; src=&quot;https://cdn.indiblogger.in/badges/235x96_top-indivine-post.png&quot; width=&quot;235&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;More Readings&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/07/what-happens-whne-interrupt-occurs.html&quot; target=&quot;_blank&quot;&gt;What happens When Interrupt Occurs&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/05/difference-between-process-and-thread.html&quot; target=&quot;_blank&quot;&gt;Difference Between Process and Thread&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2014/01/rs232-and-rs485-comparison-playlist.html&quot; target=&quot;_blank&quot;&gt;Difference Between RS232 and RS485 Communication Protocol&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2013/08/differences-between-mutex-and-semaphore.html&quot; target=&quot;_blank&quot;&gt;Differences between Mutex And Semaphore&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4.Identify the correct statement &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.The typedef defines synonym for an existing data type.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2.The typedef create a new data type that is not existing in C.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3.The typedef helps in easier modification of a portable program.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4.The typedef gives meaningful name to a data type.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)Option 1, 3 and 4.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)Option 1 and 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)Option 2 and 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)Option 2, 3 and 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5.What is the output of the following code?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;enum control&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;On, off, neutral&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;};&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;PRINTF(“%d”, off);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)Compilation error&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)Execution error&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)5&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;6.What is the output of the following program?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#define MAX (x, y) ((x) &amp;gt; (y) ? (x) : (y))&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int x=5, y = 5;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(“maximum is %d”, MAX( ++x, ++y));&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)Maximum is 7&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)Maximum is 5&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)Maximum is 6&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)None&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/files-and-preprocessors-in-c-viva.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/8871199610581490355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/files-and-preprocessors-in-c-viva.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8871199610581490355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8871199610581490355'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/files-and-preprocessors-in-c-viva.html' title='Files and Preprocessors in C - Viva Interview for Engineering Freshers Basics Tutorials'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmj9B13nG0KxGgiOK1bzkAA2juN0l0oZKE2TZqutYIBcBTU7B3DMmxOWFvuEjrS3nDFVnC9H94HSIZPxo36JOgSiSbZ3Efsi20V-h6ioEY01TlIzyIYLj2hH2_mdW4e5vke-frYY31YEkT/s72-c/Files+and+Preprocessors+in+C+IngenuityDias.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-8493149330796289139</id><published>2015-07-16T00:07:00.000-07:00</published><updated>2015-07-16T00:07:00.811-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Strings"/><title type='text'>Strings In C Programming Interview Exam Questions Answers For Engineering Graduates</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUh5pt5RM_A214G0OmdJe_cxpo-tPGFqYniS6lHVDxSlLxoDGpDr9ejW9zOC9hzUL83-HyKLYTDbRCy71FqWWB9XXcCqdC3ibKxz5LCdxjjGw44vCWw_IJ4c02_q5NY0vYVQgu2TJyFHfF/s1600/C+Programming+Interview+Questions+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;115&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUh5pt5RM_A214G0OmdJe_cxpo-tPGFqYniS6lHVDxSlLxoDGpDr9ejW9zOC9hzUL83-HyKLYTDbRCy71FqWWB9XXcCqdC3ibKxz5LCdxjjGw44vCWw_IJ4c02_q5NY0vYVQgu2TJyFHfF/s400/C+Programming+Interview+Questions+IngenuityDias.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;1.What would be the output of the following program?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;char *str[] = {“Frog”,”Do”,”Not”, “Die.”,”They”,”Croak!”};&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;printf(“%d %d”, sizeof (str), sizeof (str[0]));&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;3 12&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;2 12&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;12 3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;12 2&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;2.What would be the output of the following program?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;char str1[] = “Hello”;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;char str2[] = “Hello”;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;if(str1 == str2)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;printf(“Equal”);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;else&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;printf(“\nUnequal”);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Error.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Equal.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Unequal.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: C&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;400&quot; src=&quot;https://www.youtube.com/embed/-wR1UKdJAiE&quot; width=&quot;600&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;3.Would the following code give any error on compilation?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;strcat (string,’!’);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Yes.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;No.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;4.What will happen if I use this code in my program?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;#define TRACE(n) printf(&amp;quot;TRACE: %d\n&amp;quot;, n)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Nothing it is good.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Code is wrong.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Error: macro replacement within a string literal&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: C&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;5.How can I print a &amp;#39;%&amp;#39; character in a printf format string?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Use “\%”&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Use “/%”&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;None&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Use “%%”&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/strings-in-c-programming-interview-exam.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/8493149330796289139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/strings-in-c-programming-interview-exam.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8493149330796289139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8493149330796289139'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/strings-in-c-programming-interview-exam.html' title='Strings In C Programming Interview Exam Questions Answers For Engineering Graduates'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUh5pt5RM_A214G0OmdJe_cxpo-tPGFqYniS6lHVDxSlLxoDGpDr9ejW9zOC9hzUL83-HyKLYTDbRCy71FqWWB9XXcCqdC3ibKxz5LCdxjjGw44vCWw_IJ4c02_q5NY0vYVQgu2TJyFHfF/s72-c/C+Programming+Interview+Questions+IngenuityDias.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-7492678170394138550</id><published>2015-07-13T00:05:00.000-07:00</published><updated>2015-07-13T00:05:00.471-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Loop"/><category scheme="http://www.blogger.com/atom/ns#" term="Loop In C"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Questions"/><title type='text'>Interview Questions Loop C Programming For Enginnering Students Basics Viva Tutorials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOpuIt6Mc5sthXir2x4gV3FXdMUU1zH590810Qz4vI36erldIYLfKRnFZ1bFuaKdUjWPsght7AXzRFL0sEA5gSvb7f5ZlYxOfYdLkXWi_a8lNI0TAXpdrqBZTCaz11FPMT_24-qZWI8Zy0/s1600/C+Programming+Interview+Questions+IngenuityDias+%25283%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOpuIt6Mc5sthXir2x4gV3FXdMUU1zH590810Qz4vI36erldIYLfKRnFZ1bFuaKdUjWPsght7AXzRFL0sEA5gSvb7f5ZlYxOfYdLkXWi_a8lNI0TAXpdrqBZTCaz11FPMT_24-qZWI8Zy0/s400/C+Programming+Interview+Questions+IngenuityDias+%25283%2529.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;1.Which is the correct statement?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Printf(“Maximum = %d\n”, (x.y) ? x : y);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Printf( “%s\n”, (mark &amp;gt;= 60) ? “First class” : “Not first class” );&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Printf(“%s\n”, PASS);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;All of the above&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;2.Do-While loop terminates when conditional expression returns?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Zero&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;One&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Non-zero&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;-1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;3.In the following loop construct, which one is executed only once always.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;for ( exp1; exp2; exp3) {. . . }&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;exp1&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;exp3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;exp1 and exp3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;exp1, exp2 and exp3&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;

&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;4.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if default statement is omitted and there is no match with the case table&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;No statement within switch case will be executed&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Syntax error is produced&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Executes all the statements in the switch case construct&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;Executes the last case statement only&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;400&quot; src=&quot;https://www.youtube.com/embed/BiZ0iHpyWhM&quot; width=&quot;600&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;5.What will be printed when the above code is executed?&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;int a = 2, b = 4, c = 8, x = 4;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;if ( x == b) x = a; else x = b;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;if( x != b) c = c + b; else c = c + a;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;printf(“c = %d\n”,c);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;C = 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;C = 8&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;C = 10&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;C = 12&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/interview-questions-loop-c-programming.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/7492678170394138550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/interview-questions-loop-c-programming.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7492678170394138550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7492678170394138550'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/interview-questions-loop-c-programming.html' title='Interview Questions Loop C Programming For Enginnering Students Basics Viva Tutorials'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOpuIt6Mc5sthXir2x4gV3FXdMUU1zH590810Qz4vI36erldIYLfKRnFZ1bFuaKdUjWPsght7AXzRFL0sEA5gSvb7f5ZlYxOfYdLkXWi_a8lNI0TAXpdrqBZTCaz11FPMT_24-qZWI8Zy0/s72-c/C+Programming+Interview+Questions+IngenuityDias+%25283%2529.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-7262960261579924589</id><published>2015-07-10T05:03:00.001-07:00</published><updated>2015-11-07T21:19:21.565-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bitwise Operator"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Structures"/><category scheme="http://www.blogger.com/atom/ns#" term="Unions"/><title type='text'>Structures And Unions C Programming Interview Questions- Basics Viva Tutorials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizpoXf-yzABhrhyNCgtnILnbZu2kUS4i42jkRHevdkni1ZcW98Iu0vS9Sno2FOU1A8fZ-C2bl_Am4dbY4XeiCBICQoKn69bZXByXuZzgs2Ell29cdoBOw05t9dUWIsPwyLZC1FYJfziP1w/s1600/C+Programming+Interview+Questions+IngenuityDias+%25284%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizpoXf-yzABhrhyNCgtnILnbZu2kUS4i42jkRHevdkni1ZcW98Iu0vS9Sno2FOU1A8fZ-C2bl_Am4dbY4XeiCBICQoKn69bZXByXuZzgs2Ell29cdoBOw05t9dUWIsPwyLZC1FYJfziP1w/s400/C+Programming+Interview+Questions+IngenuityDias+%25284%2529.jpg&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.A bit field is&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;A pointer variable in a structure.&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;One bit or a set of adjacent bits within a word&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;A pointer variable in a union&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Not used in C&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2.Union differs from structure in the following way&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;All members are used at a time&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Only one member can be used at a time&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Union cannot have more members&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Union initialized all members as structure&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;400&quot; src=&quot;https://www.youtube.com/embed/7NMMJ-BrHjg&quot; width=&quot;600&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3.What type of structure is created by the following definition?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;struct first { . . . ; struct second *s};&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;struct second { . . . ; struct first *f};&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Nested structure&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Self-referential structure&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Invalid structure&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Structured structure&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: B&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4.Identify the wrong syntax&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;typedef struct { member declaration; } NAME; NAME V1, V2; &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;typedef struct tag{ member declaration; } NAME; NAME V1, V2; &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;typedef struct { member declaration; } NAME; NAME V1, V2; &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;typedef struct tag { member declaration; } NAME; NAME V1, V2; &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: D&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5.The changes made in the members of a structure are available in the calling function if&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;pointer to structure is passed as argument&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;structure variable is passed&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;the member other then pointer type are passed as argument&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;both option a and c&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: A&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/structures-and-unions-c-programming.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/7262960261579924589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/structures-and-unions-c-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7262960261579924589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/7262960261579924589'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/structures-and-unions-c-programming.html' title='Structures And Unions C Programming Interview Questions- Basics Viva Tutorials'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizpoXf-yzABhrhyNCgtnILnbZu2kUS4i42jkRHevdkni1ZcW98Iu0vS9Sno2FOU1A8fZ-C2bl_Am4dbY4XeiCBICQoKn69bZXByXuZzgs2Ell29cdoBOw05t9dUWIsPwyLZC1FYJfziP1w/s72-c/C+Programming+Interview+Questions+IngenuityDias+%25284%2529.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-2414843541057622727</id><published>2015-07-05T23:38:00.000-07:00</published><updated>2015-11-04T10:28:11.302-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Operators"/><category scheme="http://www.blogger.com/atom/ns#" term="Placement"/><category scheme="http://www.blogger.com/atom/ns#" term="Questions"/><title type='text'>Placement Questions C Operators Viva Interview for Engineering Freshers Basics Tutorials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQmgcP7jFy1Caxyvte-6a50cNTiXcfgjLT3Yje_6Mhi3ATWGAuKY94DPXclQxvwgwakOHvHpuPQ4sKXrdbmymnUMnw5gFUYBg3_cPrJ6LWKF8frLQ3IUhVhj9k9vH9IzO_5WmK2KiUfIP_/s1600/Operators+in+C+IngenuityDias.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQmgcP7jFy1Caxyvte-6a50cNTiXcfgjLT3Yje_6Mhi3ATWGAuKY94DPXclQxvwgwakOHvHpuPQ4sKXrdbmymnUMnw5gFUYBg3_cPrJ6LWKF8frLQ3IUhVhj9k9vH9IzO_5WmK2KiUfIP_/s400/Operators+in+C+IngenuityDias.png&quot; width=&quot;400&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.Which of the following is not a compound assignment operator?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/=&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;+=&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;%=&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;== &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;==&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2.What will be the output of the following code snippet?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;Y = 5;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;if (! Y &amp;gt; 10)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;X = Y + 3;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;else&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;X = Y + 10;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(“ X = %d Y = %d”, X, Y);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print X = 15 Y = 5 &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print X = 15 Y = 0&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print X = 8 Y = 5&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print X = 3 Y = 0&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print X = 15 Y = 5&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PL3UcPjRY-gjW5huNEavQX_FOHJx2e9yi0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3.Which of the following statement is correct about the code snippet given below?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;num = 5;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf( “%d”, ++num++ );&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will print 5&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will print 6&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will result in L – value required &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will result in R – value required&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will result in L – value required&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4.Which of the following statement is correct about the code snippet given below?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#include &amp;lt; stdio.h&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;float z = 12.35, c = 10;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;if( ++z%10 -z)&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c += z; &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;else&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c - = z;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf( “%f %f”, z, c);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;return 0;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will result in compile time error &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print 12.35 22.35&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print 13.35 22.35&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will print 1.35 11.35&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The program will result in compile time error&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5.Which of the following statement is correct about the code snippet given below?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;#include &amp;lt; stdio.h&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int main()&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int n = 12, k;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;printf(“%d”, (k = sizeof( n + 12.0))++);&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;return 0;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will print 17&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will print 5&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will result compile time error &lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will print 4&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: c)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;The code will result compile time error&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/placement-questions-c-operators-viva.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/2414843541057622727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/placement-questions-c-operators-viva.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/2414843541057622727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/2414843541057622727'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/placement-questions-c-operators-viva.html' title='Placement Questions C Operators Viva Interview for Engineering Freshers Basics Tutorials'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQmgcP7jFy1Caxyvte-6a50cNTiXcfgjLT3Yje_6Mhi3ATWGAuKY94DPXclQxvwgwakOHvHpuPQ4sKXrdbmymnUMnw5gFUYBg3_cPrJ6LWKF8frLQ3IUhVhj9k9vH9IzO_5WmK2KiUfIP_/s72-c/Operators+in+C+IngenuityDias.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5113857641542106497.post-8616814105223941339</id><published>2015-03-17T08:29:00.000-07:00</published><updated>2016-02-29T12:20:57.804-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bitwise Operator"/><category scheme="http://www.blogger.com/atom/ns#" term="C Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Embedded programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Enumeration"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Structures"/><category scheme="http://www.blogger.com/atom/ns#" term="Switch Case"/><category scheme="http://www.blogger.com/atom/ns#" term="Unions"/><title type='text'>Structures Unions Enumeration - FlowControl in C Interview Questions for Engineering Students</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4KQPu9XYvqP3gIXbySpOztcGvESgC_KcJUKmPL7cqfIyoIjKbALQNoEKEjpaJbTAw4bgEp5gu7hb8tv6-5A4UKDW66qp1vKoAS8DIfhBCIcYM4plY6Mkgz1N1xHkeFq_TyphqYrLq4Ok7/s1600/FlowControl+in+C+IngenuityDias.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4KQPu9XYvqP3gIXbySpOztcGvESgC_KcJUKmPL7cqfIyoIjKbALQNoEKEjpaJbTAw4bgEp5gu7hb8tv6-5A4UKDW66qp1vKoAS8DIfhBCIcYM4plY6Mkgz1N1xHkeFq_TyphqYrLq4Ok7/s400/FlowControl+in+C+IngenuityDias.jpg&quot; width=&quot;335&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;1.) What do the &amp;#39;c&amp;#39; and &amp;#39;v&amp;#39; in argv stands for?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a.) &amp;#39;c&amp;#39; means argument control &amp;#39;v&amp;#39; means argument vector&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b.) &amp;#39;c&amp;#39; means argument count &amp;#39;v&amp;#39; means argument vertex&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c.) &amp;#39;c&amp;#39; means argument count &amp;#39;v&amp;#39; means argument vector&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d.) &amp;#39;c&amp;#39; means argument configuration &amp;#39;v&amp;#39; means argument visibility&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: c.) &amp;#39;c&amp;#39; means argument count &amp;#39;v&amp;#39; means argument vector&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;2.) What do the following declaration signify?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;int (*pf)();&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a.) pf is a pointer to function&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b.) pf is a function pointer&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c.) pf is a pointer to a function which return int&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d.) pf is a function of pointer variable&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: c.) pf is a pointer to a function which return int&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/07/programming-c-viva-questions-for.html&quot; style=&quot;widows: 1;&quot; target=&quot;_blank&quot;&gt;C Frequently Asked Questions&lt;/a&gt;&lt;br style=&quot;color: black; widows: 1;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/embedded-c-programming-twenty-interview.html&quot; style=&quot;widows: 1;&quot; target=&quot;_blank&quot;&gt;C-Job Interview Questions&lt;/a&gt;&lt;br style=&quot;color: black; widows: 1;&quot;&gt;&lt;a href=&quot;http://www.ingenuitydias.com/2015/06/interrupt-dma-and-watchdog-timer.html&quot; style=&quot;widows: 1;&quot; target=&quot;_blank&quot;&gt;Interrupt DMA and Watchdog Timer&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;div style=&quot;widows: auto;&quot;&gt;
&lt;a href=&quot;http://www.ingenuitydias.com/2015/10/embedded-systems-characteristics-types.html&quot; style=&quot;font-family: times, &amp;#39;times new roman&amp;#39;, serif; font-size: x-large; widows: 1;&quot; target=&quot;_blank&quot;&gt;Watchdog Timer Interview Questions&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;3.) What do the following declaration signify?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;void *cmp();&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a.) cmp is a pointer to an void type&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b.) cmp is a void type pointer variable&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c.) cmp is a function that return a void pointer&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d.) cmp function returns nothing&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: c.) cmp is a function that return a void pointer&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;4.) In which numbering system can the binary number 1011011111000101 be easily converted to?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a.) Decimal system&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b.) Hexadecimal system&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c.) Octal system&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d.) No need to convert&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: b.) Hexadecimal system&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;&lt;br&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;5.) Which bitwise operator is suitable for turning off a particular bit in a number?&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;a.) &amp;amp;&amp;amp; operator&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;b.) &amp;amp; operator&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;c.) || operator&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #660000; font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif; font-size: large;&quot;&gt;d.) ! operator&lt;/span&gt;&lt;br&gt;
&lt;span style=&quot;color: #20124d; font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: large;&quot;&gt;ANSWER: b.) &amp;amp; operator&lt;/span&gt;&lt;br&gt;
&lt;/div&gt;&lt;a href=&quot;http://ingenuitydias.blogspot.com/2015/07/structures-unions-enumeration.html#more&quot;&gt;CONTINUE READING »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingenuitydias.blogspot.com/feeds/8616814105223941339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/structures-unions-enumeration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8616814105223941339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113857641542106497/posts/default/8616814105223941339'/><link rel='alternate' type='text/html' href='http://ingenuitydias.blogspot.com/2015/07/structures-unions-enumeration.html' title='Structures Unions Enumeration - FlowControl in C Interview Questions for Engineering Students'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07367381892859044439</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4KQPu9XYvqP3gIXbySpOztcGvESgC_KcJUKmPL7cqfIyoIjKbALQNoEKEjpaJbTAw4bgEp5gu7hb8tv6-5A4UKDW66qp1vKoAS8DIfhBCIcYM4plY6Mkgz1N1xHkeFq_TyphqYrLq4Ok7/s72-c/FlowControl+in+C+IngenuityDias.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>