• Difficulty - Medium
    Total Plays - 1
    Allowed Time - 10 sec
    Best Time - 3.850 sec

    Which keyword prevents a state variable from being modified after deployment construction?

    #A
    #B
    #C
    #D
    Explanation:
    immutable variables are assigned once (typically in the constructor) and then become read-only. They are stored in bytecode rather than regular storage slots, which can reduce gas compared to storage reads. This matters in Solidity interviews because immutables are common in optimized contracts (e.g., router addresses) and in secure configuration patterns.
    Leaderboard
    User
    Rank
    Time Taken
    CryptoSagePriya

    CryptoSagePriya

    @CryptoSagePriya

    1
    3.850 sec