Answers:
To terminate the line and move to next instruction.
Posted by: salim
Contact salim
It indicates end of the statement.
Posted by: sathishkumar
Contact sathishkumar
for example("wellcome new year 2010"); this statement teriminate so go to next line.
Posted by: kannan
Contact kannan
the end of one statement
Posted by: gokul
Contact gokul
it indicates the end of the statemen and moves to the next line to execute
Posted by: SUGANYA
Contact SUGANYA
it indicates the end of that particular statement and moves to the next statement.
Posted by: 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
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
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
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
it indicates the end of particular statement
Posted by: 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
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.