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

What is extern storage class in c?

0 Answers  


Explain the difference between null pointer and void pointer.

0 Answers   TCS,


What is the use of header files?

0 Answers  


What is the main differences between C and Embedded C?

9 Answers  


what is diognisis?

1 Answers  






What is a dynamic array in c?

0 Answers  


How do I access command-line arguments?

2 Answers   Bosch, Wipro,


what is the output on the screen? int n; n=printf("my name is %d",printf("kiran %d",printf("kumar"))); printf("\n %d \n",n);

4 Answers   TCS,


Write a program to use switch statement.

0 Answers   Agilent, Integreon, ZS Associates,


how to swap 4 number without using temporary number?

2 Answers  


Concat two string with most overlapped substring has to removeĀ  "abcd"+ "cdef" = "abcdef

6 Answers  


Explain a file operation in C with an example.

0 Answers   Amdocs,


Categories