1 – What is the difference between a3 and a[3]?
2 – How many memory cells are allocated for data storage in this array:
double prices[4];
What data type is stored in the prices array?
What is the index or subscriipt of the last element in the prices array?
3 – What is the output from this portion of a program?
for(count=0; count < 4; count+ +)
printf(“%3dn”, count);
4 - What is the result of the following portion of code?
for (imp = 0; imp < 3; imp ++)
{
printf(“%3dn”, imp);
}
4 - Can a for loop be written like the code below? Explain why or why not.
int n=12;
for( ; n>3; n- -)
6 – Give three examples of where you would use a loop in a program.
Last Completed Projects
| topic title | academic level | Writer | delivered |
|---|
