CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - Get Success in Job Interviews Interview Success Kit - 30,000 Interview Que. & Ans.
Covers 30,000+ Interview Questions asked in actual MNC Interviews - all with model answers.
Get Your Dream Job Now - www.vyoms.com
Sponsored Links
Interview Questions
Our Services

INTERVIEW QUESTIONS C VARIABLES IN C DETAILS
Question :
Where are the auto variables stored? What is the use of register variables?


Category Variables in C Interview Questions
Rating (3.2) By 19 users
Added on 7/18/2011
Views 889
Rate it!
Answers:

Auto variables are stored in memory and their default value is a garbage value. Register variables are meant to be stored in processor registers.

for instance if we write register int i; then i should be stored in a register. it may or may get the place in a register depending upon whether there are sufficient registers available or not because in microcomputers there are usually 14 to 16 registers and they may be engaged in some other work.

also one should remember that these registers are 16 bit so these statements should be avoided register float i , register double j . the compiler wont show any error and will take them as auto.



If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification Enter the above shown code: *
    Inform me about updated answers to this question

    Related Questions
    View Answer
    What is an lvalue?
    View Answer
    Can a variable be both const and volatile?
    View Answer
    How can you determine the maximum value that a numeric variable can hold?
    View Answer
    Is it acceptable to declare/define a variable in a C header?
    View Answer
    What is the difference between declaring a variable and defining a variable?
    View Answer
    Can static variables be declared in a header file?
    View Answer
    What is the benefit of using const for declaring constants?
    View Answer
    What is the benefit of using #define to declare a constant?
    View Answer
    What is the benefit of using an enum rather than a #define constant?
    View Answer
    What is storage class and what are storage variable ?
    View Answer
    What are the advantages of auto variables?
    View Answer
    Differentiate between an internal static and external static variable?
    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Variables in C Interview Questions & Answers

    User Options
    Latest 20 Questions
    Give the meaning of the term debt- equity(D:E) ratio.
    What do you mean by financial risk?
    What is business risk?
    State the differences between operating and financial leverage.
    What is combined leverage?
    What is operating leverage?
    What is financial leverage?
    Name the types of leverages.
    What is the master way (table) for calculating the leverages?
    What are the types of tools that can read feeds?
    What is leverage?
    State the external factors affecting capital structure.
    How can I change my blog's name?
    How can I display my entries in full on the home page, without the "Continue reading" link?
    What are the internal factors affecting capital structure?
    How to creates tags automatically?
    Why are some fopen wrappers disabled?
    How to change the name that appears as my entries' signature?
    How to return to the default widgets?
    How to remove a widget?



    Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

    Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

    MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
    MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

    GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

    IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
    IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

    SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
    SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




    Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions



    Cache = 0.406006 Seconds