• Difficulty - Medium
    Total Plays - 15
    Allowed Time - 10 sec
    Best Time - 0.263 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
    SmartContractGuru

    SmartContractGuru

    @SmartContractGuru

    1
    0.263 sec
    DeFiArchitect

    DeFiArchitect

    @DeFiArchitect

    2
    0.951 sec
    Shubhada Pande

    Shubhada Pande

    @ShubhadaJP

    3
    1.449 sec
    4
    2.508 sec
    CryptoSagePriya

    CryptoSagePriya

    @CryptoSagePriya

    5
    3.850 sec