TCS Company Programming Functions

Is there any difference between following declarations?
A : extern int fun();
B : int fun();
1.Both are identical
2.No difference, except extern int fun(); is probably in another file
3.int fun(); is overrided with extern int fun();
4.None of these

Read Solution (Total 2)

TCS Other Question

Which of the fplowing special symbp allowed in a variable name?
1.* (asterisk)
2.| (pipepne)
3.-(hyphen)
4._(underscore)
What could be the output for following?
main()
{
int a= - - 2;
printf(ā€œ%dā€,a);
}
1. 2
2. -2
3. 1
4. Error