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 .
There should be a semicolon at the end of the statement.
The commas should be semicolons.
The variable k can’t be initialized.
The variable must always be the letter i when using a for loop.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }}

None of these
The code is erroneous since the statement declaring array is invalid.
The code is erroneous since the values of array are getting scanned through the loop.
The code is correct and runs successfully.
The code is erroneous since the subscript for array used in for loop is in the range 1 to size.

ANSWER DOWNLOAD EXAMIANS APP