to change a value in a tuple without changing all the values in the tuple we use the ...... statement.
1. insert
2. insert some
3. update
4. alter
Answers
3. update
i hope you are satisfied.
Answer:
The statement 1. insert is used to insert new tuple value.
Explanation:
We cannot change the tuple values. Tuple is unchangeable, once a tuple is created .
Tuples are immutable, which means it does not allow to update the tuple values.
There are only two possible ways to change the tuple values.
- Convert the tuple values into the list
- Create new tuple values.
We can insert new tuple values .
In PHP, we cannot change the tuple values. Tuple is unchangeable, once a tuple is created. Tuple is also like a liner data structures like lists, arrays, vector and hash table.
Tuple values are finite values and the values are ordered as a sequence and it supports both pack and unpack values.
Tuple has many use cases, that all arranged as an array structure in PHP and it suites for n-tuple’s. Familiar example for this is a record stored in a relational database (i.e user_id, name).