Answer:
outer
Explanation:
When one loop appears inside another, the loop that contains the other loop is called the outer loop.
Answer:
b,c and d can't occur.
Explanation:
Queues always preserve sequence.
Answer:
int k;
double d;
char s[10];
cin >> k >> d >> s;
cout << s << " " << d << " " << k << "\n" << k << " " << d << " " << s;
Explanation
First Step (declare K, d, s) so they can store a integer
int k;
double d;
char s[10];
Second Step (read in an integer, a real number and a small word)
cin >> k >> d >> s;
Third Step ( print them out )
cout << s << " " << d << " " << k << "\n" << k << " " << d << " " << s;
Answer:
C
Explanation:
he be looking better than cashmoney
Answer:
1) B (++ and --)
2) A (1 2 3 4 5)
Explanation:
In the first question, the operators ++ and -- are used in almost all programming languages for adding and subtracting 1 respectively from an operand.
In the second question using a while statement the numbers 1-5 is printed out because the variable n=1 is increased by 1 after each iteration.