5 years ago in C Basic Concepts

Identify which of the following are declarations
1 : extern int x;
2 : float square ( float x ) { ... }
3 : double pow(double, double);

[A] 1
[B] 2
[C] 1 and 3
[D] 3
Loading...
Next Question

Overall Stats

Attempted 137
Correct 50
Incorrect 37
Viewed 50

Answers

Guest
Guest
vijay k - 6 months ago

1 and 3 is correct answer

Deep
Deep - 1 month ago

Deep from Kolkata, India is saying 1 is correct answer

Komal Patil
Komal Patil - 2 months ago

Komal Patil is saying 1 and 3 is correct answer

Emre YILDIRIM
Emre YILDIRIM - 2 months ago

Emre YILDIRIM is saying 2 is correct answer

Ramsha Rizwan
Ramsha Rizwan - 2 months ago

Ramsha Rizwan is saying 2 is correct answer

Related Questions

How would you round off a value from 1.66 to 2.0?

  • [A] ceil(1.66)
  • [B] floor(1.66)
  • [C] roundup(1.66)
  • [D] roundto(1.66)

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