C Programming
Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);}

h
Error
Garbage Value
hi
hi followed by garbage value

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP