41. DC045 20142015. a. Identifier is a reference to memory locations which can hold values. State two (2) rules for naming the identifier. b. State whether the following variables names are valid or...

4141. DC045 20142015.<br>a. Identifier is a reference to memory locations which can hold values. State two (2) rules<br>for naming the identifier.<br>b. State whether the following variables names are valid or invalid.<br>Variable Names<br>(i)<br>Valid/Invalid<br>Sprice<br>Percentage2<br>(ii)<br>(ii)<br>Cost_of_living<br>c. Identify the suitable variable declaration for the following statement.<br>

Extracted text: 41. DC045 20142015. a. Identifier is a reference to memory locations which can hold values. State two (2) rules for naming the identifier. b. State whether the following variables names are valid or invalid. Variable Names (i) Valid/Invalid Sprice Percentage2 (ii) (ii) Cost_of_living c. Identify the suitable variable declaration for the following statement. "A program that will display the mark and grade for a student. " Variable Name Data Type (i) mark (ii) grade d. The following declarations have errors. Correct the errors by rewriting the declaration. (i) char numl= 98, num2 = 76, num3 = 54; (ii) int 1", 2, 3d ; (iii) int long.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here