What is the use of a semicolon (;) at the end of every program statement?

Answer Posted / hrpynux@gmail.com

In computer programming, the semicolon is often used to separate multiple statements (for example, in Perl, Pascal, and SQL; see Pascal: Semicolons as statement separators). In other languages, semicolons are called terminators and are required after every statement (such as in PL/I, Java, and the C family).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How old is c programming language?

573


What is difference between union All statement and Union?

628


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

735


Explain what is the most efficient way to store flag values?

693


What is a scope resolution operator in c?

747






What is the use of f in c?

555


What is clrscr in c?

672


What are pointers really good for, anyway?

611


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

728


How can I split up a string into whitespace-separated fields?

567


What does the error 'Null Pointer Assignment' mean and what causes this error?

740


What is a null string in c?

584


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15047


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

666


What is extern keyword in c?

640