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.
Answer:

Explanation:
Photoshop format (PSD) is the default file format and the only format, besides the Large Document Format (PSB), that supports all Photoshop features.
Answer:
Depends, but most of the time definitly
:)
Examples of character formats that can be applied to text characters in Word include those you find in the Font dialog box (such as bold, italic, underline, font, size, color, superscript, subscript, scaling, animation effects, etc), highlight, change case, etc. To apply a character format to a character or a set of characters, you need to specifically select the desired amount of characters and then apply the formatting you want.