What is the correct syntax for using ASSERT statement? ; b) Condition ASSERT; c) Condition ASSERT; d) ASSERT condition ;
What is the correct syntax for using ASSERT statement? ; b) Condition ASSERT; c) Condition ASSERT; d) ASSERT condition ; Correct Answer ASSERT condition ;
The ASSERT statement is declared by using a Boolean condition before which a keyword ASSERT is used. After the condition, a keyword called REPORT is used and the string is specified which the user wants to display. The string to be displayed is followed by the severity of the error and its name.
মোঃ আরিফুল ইসলাম
Feb 20, 2025