hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    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

    Odisha CT Full Mock Test : 01

    languageIcon English
    • pdpQsnIcon90 Questions
    • pdpsheetsIcon90 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    National Weekly Current Affairs Jan 2025 Practice Set 01

    languageIcon English
    • pdpQsnIcon25 Questions
    • pdpsheetsIcon25 Marks
    • timerIcon15 Mins
    languageIcon English
    Free
    Must Attempt

    Odisha SSB JA 2024 PYP (Held on 19-Jun-2024)

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon200 Marks
    • timerIcon120 Mins
    languageIcon English
    test-prime-package

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

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