Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

what do you use to declare an associative array? a key = value b key ==…

Question

what do you use to declare an associative array? a key = value b key == value c key => value d nothing, as you cant define associative arrays in

Explanation:

Brief Explanations

In many programming languages, an associative array (also known as a dictionary, hash - table etc.) is declared using a key - value pair syntax where the arrow symbol (=>) is used to map a key to a value. The '=' is for assignment, '==' is for equality comparison.

Answer:

C. 'key' => 'value'