C Programming
Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program?

No output
Runtime error
6
Syntax error
8

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

There should be a semicolon at the end of the statement.
The increment should always be ++k .
The variable k can’t be initialized.
The variable must always be the letter i when using a for loop.
The commas should be semicolons.

ANSWER DOWNLOAD EXAMIANS APP