Difficulty -
Medium
Total Plays - 6
Allowed Time - 10 sec
Best time - 1.930 sec
What is the purpose of the #[account] macro in Anchor?
#A
#B
#C
#D
Explanation:
The #[account] macro in Anchor is used to define and validate account structures for Solana smart contracts. It simplifies account management and ensures data integrity.