C Programming
What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);}

2 2
3 3
2 4
3 4
2 3

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

ANSWER DOWNLOAD EXAMIANS APP