Answer:
sum, price, count
Explanation:
Programmers should use significant names for the variables.
Not only it makes it easier for them to remember what kind of information is stored in each variable, but it also makes life simpler for anyone who would read the code later.
Names like sum, price and count are significant names ( assuming they actually hold this kind of data), and will make the re-reading of the program code much easier.
Answer: It arranges text in a list alphabetically from A to Z.
Explanation: It's always easier and more systematic to arrange alphabetically. With numbers there is the possibility of infinity but not with alphabet which have a defined range.
Answer:
The true statements are:
There is an assembler directive to arrange / place floating point values in static data memory
MARS always uses setting '.set boat'
Explanation:
It is the assembler directive who arranges and places the floating point values for the static data memory. Obviously there is no such way for the MIPS assemble programming for reservation of the static data memory without having any initialization for a considerable value.
MARS would definitely use the setting set “noat” ascii would store the string in the memory and then terminate it with respect to NULL character. They cannot reserve the MIPS assembly programming for a considerable value.
Answer:
#include <iostream>
using namespace std;
void CoordTransform(int *ptr1, int *ptr2);
int main()
{
int xVal;
int yVal;
cout<<"please enter two valid integers";
cin>>xVal;
cin>>yVal;
CoordTransform(&xVal , &yVal);
int xValNew=xVal;
int yValNew=yVal;
cout<<xValNew<<yValNew;
return 0;
}
void CoordTransform(int *ptr1, int *ptr2)
{
int a = *ptr1;
*ptr1=(*ptr1+1)*2;
*ptr2=(*ptr2+1)*2;
}
Explanation:
It will return new values in previously defined variables
coding language: c++