Saved Bookmarks
| 1. |
(a) Write the value that will be assigned to variable C after executing the following statement: C = 25 - 5 * 4/2 - 10 + 4;(b) Consider the statement : first_name = "Ayana";(i) What is the datatype of first_name?(ii) Is 325 the same as "321"? Give reason. |
|
Answer» (a) C = 9. (b) (i) String. (ii) No they are not same. 325 represents integer(int) type of value, whereas "321" represents String type value. |
|