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



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

Answer / 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

More C Interview Questions

Tell us two differences between new () and malloc ()?

0 Answers   Adobe,


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

0 Answers  


Explain the advantages of using macro in c language?

0 Answers  


Explain pointers in c programming?

0 Answers  


write a c program to find the roots of a quadratic equation ax2 + bx + c = 0

11 Answers   CSC, St Marys, TATA,






what is the difference between %d and %*d in c languaga?

7 Answers   TCS,


What is the use of #include in c?

0 Answers  


Differentiate between null and void pointers.

0 Answers   TCS,


program to convert a integer to string in c language'

0 Answers  


Do you know pointer in c?

0 Answers  


what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }

9 Answers   HCL,


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

0 Answers  


Categories