Answer:
a. (p*Main).age = 20;
Explanation:
Pointers use ->
where as normal variable use . to access its members
pMain is the pointer.
*pMain is the value inside pMain.
pMain->age = 20;
This statement equals to
(*pMain).age = 20;
Answer is option a.
Explanation:
The name "multimedia" itself tells us that, it involves "multiple types of media".
There are 5 different types of media which comes under multimedia. They are "text, video, audio, graphics, animation".
Text: A plain text
Audio: The musical background or any type of audio
Video: Visuals taken through cameras
Graphics: The use of diagrams in calculation and design
Animation: Moving pictures.
So video texted involves "more than one type of media" so this can be called as "multimedia".
Ruby can take up movie design in flim television ' or theater production
The answer from the given option is "D", "<span>OSHA covers all categories of business and industry".
OSHA stands for </span>Occupational Safety and Health Administration, which is an agency of the United States Department of Labor. The four categories of business and industry that are covered by the standards are general industry, maritime, construction and agriculture. So the the answer from the given options is D, because a, b and c are included in the categories.
Answer:
The ArrayList initial functionality is 5, there were 4 components.
Then, add 25 more elements by using add()calling 25 times So total number of elements after the completed operation would be 4 + 25= 29.
5th component will be introduced without calling ensureCapacity(); while adding 6th element-> ensureCapacity(2* 5+ 1) it will call, making the capacity 11.
So ArrayList's capacity will be 11.
Next 7th to 11th components will also be added automatically once the 12th element is added, it will name ensureCapacity(2* 11+ 1) and make the capacity 23.
While adding 24th dimension, ensureCapacity(2* 23+ 1) will be called again and this will make the capacity 47.
There will therefore be 3 (three) calls to ensure the feature Ability).
Elements of Rest 25th to 29th will be added seamlessly as ability becomes 47.