The code of five digits is of the form:
A B C D F
Where A (the first digit) may be any of 9 digits (because 0 is excluded)
B, C, and D, may be each any of 10 digits (0 - 9)
F (the last digit) may be 0, 2, 4, 6 or 8, i.e. 5 different digits.
So the number of different available codes is:
9 * 10 * 10 * 10 * 5 = 45,000.
Answer: 45,000
Classes cannot Initialize data members in the class definition.
B) Initialize data members in the class definition
<u>Explanation:</u>
Class is defined by end user data type where it can handle multiple data type and referred to other classes also. Class is also called as data structure object or object class.
Due to class methods total programming language coding style is changes. For example employee of an organization should hold his or her employee number, address detail, spouse details, salary details
Where in old style programming language we need to declare separate variable to hold the data types, where we can define employee as class which can hold employee number, address fields, and again define salary details as other class and add employee->employee number where key connect between to class which is called derived class.
#1) If a function is legally prototyped to return an integer value, it can return a structure member that is an integer data type.
Answer: True. Any method that is not declared void must contain a return statement with a corresponding return value. The data type of the return value must match the method's declared return type; you can't return an integer value from a method declared to return a boolean.
Answer:
I need to send black-and-white images in a print-ready format. Therefore, here are the steps I’d follow:
First, I’d shoot my images.
I’d use Photoshop to modify or correct the color of the images.
I’d convert the images into black-and-white versions.
I’d save the selected files in the TIFF format. This method will ensure that the images retain their quality and are print-ready.
I’d also convert these files into the JPEG format to get good-quality, low-resolution images for the client’s web publishing.
The Art Director requires images that they can modify, if required. Therefore, I’ll include files in the TIFF and PSD formats. These are open files and anyone can modify them.
I’d send all these saved copies to the magazine for their work.
Explanation:
just did it and it gave me this answer:)