#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        int a = 10;        if &#40;a &lt; 10&#41; &#123;            for &#40;i = 0; i &lt; 10; i++&#41;               cout &lt;&lt; i;        &#125;        else &#123;            cout &lt;&lt; i;        &#125;        return 0;    &#125;
A. 0123456789
B. 123456789
C. 0
D. error
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        int a = 10;        if &#40;a &lt; 10&#41; &#123;            for &#40;i = 0; i &lt; 10; i++&#41;               cout &lt;&lt; i;        &#125;        else &#123;            cout &lt;&lt; i;        &#125;        return 0;    &#125;
A. 0123456789 B. 123456789 C. 0 D. error
Explanation:We will get compilation error because ‘i’ is an undeclared identifier. 9. Identify the incorrect statements.