CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS LANGUAGES DETAILS
    Question :
    What is the purpose of semicolon in c?

    Posted by: tamil on 5/19/2008

    Contact tamil Contact tamil
    Category Languages Interview Questions
    Rating (0.4) By 1771 users
    Added on 5/19/2008
    Views 2188
    Rate it!
    Answers:

    To terminate the line and move to next instruction.



    Posted by: salim    

    Contact salim Contact salim

    It indicates end of the statement.



    Posted by: sathishkumar    

    Contact sathishkumar Contact sathishkumar

    for example("wellcome new year 2010");

    this statement teriminate so go to next line.



    Posted by: kannan    

    Contact kannan Contact kannan

    the end of one statement



    Posted by: gokul    

    Contact gokul Contact gokul

    it indicates the end of the statemen and moves to the next line to execute



    Posted by: SUGANYA    

    Contact SUGANYA Contact SUGANYA

    it indicates the end of that particular statement and moves to the next statement.



    Posted by: purushotham    

    Contact purushotham Contact purushotham

    it indicates the end of the statemen and moves to the next line to execute n go to the next instruction



    Posted by: raj    

    Contact raj Contact raj

    it indicates that its the end of line if at all semicolon is not there the compiler think that there is something more,and it throws an errir



    Posted by: priyanka    

    Contact priyanka Contact priyanka

    it indicates that its the end of line if at all semicolon is not there the compiler think that there is something more,and it throws an error



    Posted by: priyanka    

    Contact priyanka Contact priyanka

    it indicates that its the end of line if at all semicolon is not there the compiler think that there is something more,and it throws an error



    Posted by: priyanka    

    Contact priyanka Contact priyanka

    it indicates the end of particular
    statement



    Posted by: sivakalyan    

    Contact sivakalyan Contact sivakalyan

    For the plain and simple reason a newline in C does not delimit statements. In C it generally is allowed to span statements, expressions etc. over multiple lines (some exceptions to this rule). The other reason is compiler design. Apart from the sometimes hard to parse C / C++ constructs, it is also used to (re)sync the lexer/ parser in error recovery situations. (a.k.a. panic mode).



    Posted by: evviper    

    Contact evviper Contact evviper

    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 the purpose of the semicolon(;) in languages?
    View Answer
    How to create Crystal Report in Visual Basic 6.0
    View Answer
    In VB which control does not have event?
    View Answer
    What are the differences between malloc() and calloc()?

    What are macros? what are its advantages and disadvantages?
    View Answer
    What is Thread ?
    (VC++)
    What is the difference between Cmutex and Csemaphone?


    View Answer
    What is LPCTSTR? What does LP denote it?

    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 Languages Interview Questions

    User Options
    Sponsored Links


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

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

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


    Cache = 1.578125 Seconds