C Programming
Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));}

2 4 4
5 5 5
2 4 5
2 5 5

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 declaration occurs once, but a definition may occur many times.
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.

ANSWER DOWNLOAD EXAMIANS APP