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

None of these
Exam
Exam\0Veda
Exam Veda
Veda

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the difference between a declaration and a definition of a variable?

A definition occurs once, but a declaration may occur many times.
Both can occur multiple times, but a declaration must occur first.
Both can occur multiple times, but a definition must occur first.
There is no difference between them.
A declaration occurs once, but a definition may occur many times.

ANSWER DOWNLOAD EXAMIANS APP