Explanation:
2)computer is a general process machine ,commonly constitution for Digital circuits that accept input stores manipulated and generates output.
example of input:
monitor ,speaker,printer etc.
example of output:
keyboard,cpu,mouse etc.
Answer:
USB
Explanation:
WHile trying to sync your mobile device data with your desktop computer, and Trying to avoid syncing your device over wireless connections or the internet, the best possible solution that comes to mind is to make use of USB.
Here you simply connect your phone to a USB cable and plug it to the USB port on your computer, you will be able to carry out the necessary syncing without violating the promotions from your organization concerning syncing devices over wireless connections or the internet.
Answer:
if the number of elements in the array are equal to the size of the array then return -1.
Explanation:
We are implementing stack using array.Stack is a LIFO(Last In First Out) type data structure.Insertion and deletion is from one end only.
So while push operation or inserting elements in the stack using array we have to check that the capacity of array is not reached.If reached then no element can be inserted in the stack.If not then we can insert element in the stack.