मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

What are a null statement and compound statement? - Computer Science

Advertisements
Advertisements

प्रश्न

What are a null statement and compound statement?

टीपा लिहा

उत्तर

null statement: The “null or empty statement” is a statement containing only a semicolon. It takes the flowing form: ;
// it is a null statement

compound Statement:
In C++, a group of statements enclosed by pair of braces {} is called a compound statement or a block.
The general format of compound statement is:
{
statement1;
statement2;
statement3;
}

shaalaa.com
Statements
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 10: Flow of Control - Evaluation - Section - B [पृष्ठ १७८]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
पाठ 10 Flow of Control
Evaluation - Section - B | Q 1. | पृष्ठ १७८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×