Answer:
answer:
#include <iostream>
#include<list>
using namespace std;
bool Greater(int x) { return x>3; } int main() { list<int>l; /*Declare the list of integers*/ l.push_back(5); l.push_back(6); /*Insert 5 and 6 at the end of list*/ l.push_front(1); l.push_front(2); /*Insert 1 and 2 in front of the list*/ list<int>::iterator it = l.begin(); advance(it, 2); l.insert(it, 4); /*Insert 4 at position 3*/ for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " "; /*Display the list*/ cout<<endl; l.erase(it); /*Delete the element 4 inserted at position 3*/ for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " "; /*Display the list*/ cout<<endl;
l.remove_if(Greater); for(list<int>::iterator i = l.begin();i != l.end();i++) cout<< *i << " ";
/*Display the list*/
cout<<endl; return 0;
}
The
USMT (User State Migration Tool) is designed to assist IT professional migrate
files to the windows OS. An example is a step by step migration of files and
settings from a windows XP environment to windows 8 using USMT. At the end of the day, you will have
used
LoadState a
ScanState to complete this end to end migration. The correct
order is as follows;
<span><span>
1. </span>
Gather Data Using the ScanState Tool</span>
<span>a)
</span>Install USMT
<span>b)
</span>Run ScanState to Create a Migration Store on the
Server
<span>2.
</span>Install Windows
<span>a)
</span>Install Applications
<span>3.
</span>Apply Data Using the LoadState Tool
<span>a) </span>Install the USMT
<span>b) </span> Run LoadState
Answer:
5) 3 0 0
Explanation:
Given data
int [] val = { 3, 10, 44 };
The total number of parameters of given array are 3, so total length of array is also 3.
The indexing of array starts with '0', Therefore the indexes of array with length zero are: {0,1,2}
The value of array at index 0 is = 3
similarly
value at index 1 = 10
value at index 2 = 44
Here, Int i = 1 is storing the value '1' in integer variable i.
In addition to that, any value of index 'i' of an array is selected using array[i].
Therefore,
val[i] = i-1 is copying the value (i-1 = 1-1 = 0) to the index '1' of the array because i = 1.
So value at index 1 would be = val[1] = 0
The term i++ is incrementing the value of i, it makes i =2
val[i] = i-1 is copying the value (i-1 = 1-1 = 0) to the index '2' of the array because i = 2 now.
So value at index 2 would be = val[2] = 0
Hence, the output would be {3 0 0}. So 5th option is correct.
Answer:
b) num % 2 ==1;
Explanation:
Which code segment results in "true" being returned if a number is odd? Replace "MISSING CONDITION" with the correct code segment.
Answer:
The answer is "Option d"
Explanation:
The wardrobe engineering consists of choosing clothes that are so simple in design and better in the style that they are acceptable to the existing show-up and perfect for the future years. This design Originally coined Dressing for Confidence author John Molloy, which describe that clothes and accessories can also be used to create a certain picture, and wrong choices can be described as follows:
- In option a, It's right, that we know about current fashions, but selecting suitable career apparel is not important, that's why it is incorrect.
- In option b, It is wrong because whatever you wear is not to make choices of any sort.
- In option c, It is wrong because it can't provide promotion.