C Programming
What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);}

6
5
Garbage Value
0
None of these

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++)

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

ANSWER DOWNLOAD EXAMIANS APP