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

Garbage Value
Error
h
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?

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

ANSWER DOWNLOAD EXAMIANS APP