C Programming
What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50}

10..50
Error
10..10
0

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP