C Programming
What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;}

6
9
Error
5
None of these

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.
Both can occur multiple times, but a declaration must occur first.
Both can occur multiple times, but a definition must occur first.
A declaration occurs once, but a definition may occur many times.
A definition occurs once, but a declaration may occur many times.

ANSWER DOWNLOAD EXAMIANS APP