5 years ago in C Basic Concepts

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 *
Loading...
Next Question

Overall Stats

Attempted 215
Correct 37
Incorrect 53
Viewed 125

Answers

Guest
Guest
sasi chitakana
sasi chitakana - 2 months ago

sasi chitakana is saying - is left associative and * has precedence over - is correct answer

indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying - is right associative and - has precedence over * is correct answer

R.K YouTube channel
R.K YouTube channel - 8 months ago

R.K YouTube channel from Bhubaneswar, India is saying - is right associative and - has precedence over * is correct answer

Rajeswari Raji
Rajeswari Raji - 8 months ago

Rajeswari Raji from Hyderabad, India is saying - is right associative and - has precedence over * is correct answer

Yaswanth Jalla
Yaswanth Jalla - 11 months ago

Yaswanth Jalla from Chennai, India is saying - is left associative and * has precedence over - is correct answer

Related Questions

What are the types of linkages?

  • [A] Internal and External
  • [B] External and None
  • [C] External, Internal and None
  • [D] Internal

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