arrow
arrow
arrow
In programming syntax, every statement in a program should end with a_______.
Question



In programming syntax, every statement in a program should end with a_______.


A.

"$"


B.

 "%"


C.

 ";"  


D.

 "@"

​

Correct option is C

 • In many programming languages like C, C++, and Java, each statement ends with a semicolon (;).

• It tells the compiler that the statement is complete.

Information Booster:
• Missing semicolon leads to syntax error.

Additional Knowledge:
• Some languages like Python do not require semicolons.

​

Free Tests

Free
Must Attempt

Subject Test Mathematics 01

languageIcon English
  • pdpQsnIcon20 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon15 Mins
languageIcon English
Free
Must Attempt

Subject Test Reasoning & Mental Ability

languageIcon English
  • pdpQsnIcon20 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon15 Mins
languageIcon English
Free
Must Attempt

Subject Test English Language 01

languageIcon English
  • pdpQsnIcon20 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon15 Mins
languageIcon English
test-prime-package

Access ‘OSSSC Excise Constable, Forester, FG’ Mock Tests with

  • 1.5 Lakhs+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
590k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow