C Programming
What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;}

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
String concatenation means -

Partitioning the string into two strings.
Merging two strings.
Extracting a substring out of a string.
Combining two strings.
Comparing the two strings to define the larger one.

ANSWER DOWNLOAD EXAMIANS APP