C Programming
What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);}

None of these
Veda
Exam
Exam\0Veda
Exam Veda

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

ANSWER DOWNLOAD EXAMIANS APP