• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Algorithms Quiz | SP2 Contest 1 | Question 8

Which of the following statement(s) is/are true about Associativity and Precedence of operators in C.
  1. Associativity is only used when there are two or more operators of the same precedence.
  2. All operators with the same precedence have the same associativity.
  3. Precedence and associativity of postfix ++ and prefix ++ are same.
  4. Comma operator has the highest precedence among all operators.

(A)

Only 1

(B)

Only 3

(C)

Both 1 and 2

(D)

Both 2 and 3

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments