6 years ago in C Basic Concepts

Is there any difference between following declarations?
1 : extern int fun();
2 : int fun();

[A] Both are identical
[B] No difference, except extern int fun(); is probably in another file
[C] int fun(); is overrided with extern int fun();
[D] None of these
Loading...
Next Question

Overall Stats

Attempted 227
Correct 47
Incorrect 78
Viewed 102

Answers

Guest
Guest
Kittu Bhai
Kittu Bhai - 7 months ago

Kittu Bhai from Hyderabad, India is saying Both are identical is correct answer

Mohamed Ali
Mohamed Ali - 7 months ago

Mohamed Ali from Sohag, Egypt is saying No difference, except extern int fun(); is probably in another file is correct answer

Deep
Deep - 9 months ago

Deep from Kolkata, India is saying int fun(); is overrided with extern int fun(); is correct answer

indhuja indhuja
indhuja indhuja - 1 year ago

indhuja indhuja from Erode, India is saying int fun(); is overrided with extern int fun(); is correct answer

vijay k
vijay k - 1 year ago

vijay k from Chennai, India is saying None of these is correct answer

Related Questions

The expression 5-2-3*5-2 will evaluate to 18 if ?

  • [A] - is left associative and * has precedence over -
  • [B] - is right associative and * has precedence over -
  • [C] - is right associative and - has precedence over *
  • [D] - if left associative and - has precedence over *

When we mention the prototype of a function?

  • [A] Defining
  • [B] Declaring
  • [C] Prototyping
  • [D] Calling