Aspire Faculty ID #13673 · Topic: JAMIA MILLIA ISLAMIA MCA 2023 · Just now
JAMIA MILLIA ISLAMIA MCA 2023

Which operator out of these has left to right associativity?

Solution

Operator associativity in C: - Most unary operators (!, ++, --, sizeof, etc.) → **Right to Left** - Conditional (`?:`) → **Right to Left** - Comma operator (`,`) → **Left to Right** Hence, only the **comma operator** has **left-to-right** associativity.

Previous 10 Questions — JAMIA MILLIA ISLAMIA MCA 2023

Nearest first

Next 10 Questions — JAMIA MILLIA ISLAMIA MCA 2023

Ascending by ID
Ask Your Question or Put Your Review.

loading...