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

#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

772


What is context in c?

541


Why void is used in c?

566


What is the purpose of the statement: strcat (S2, S1)?

642


What are the basic data types associated with c?

816






How to draw the flowchart for structure programs?

8762


What are pointers really good for, anyway?

614


What is wrong with this declaration?

613


How will you write a code for accessing the length of an array without assigning it to another variable?

613


Who is the main contributor in designing the c language after dennis ritchie?

553


What are the advantages of using macro in c language?

592


Can main () be called recursively?

627


What is a macro, and explain how do you use it?

627


Is it better to use a macro or a function?

655


What is the role of && operator in a program code?

568