C Programming
What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);}

10 10 11 11
10 20 21 21
10 20 21 20
10 20 21 10

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP