Answer:
E) None of these will work
Explanation:
Option A, string names[5] will not work because the keyword String is not properly capitalized. Generally, arrays are declared and initialized. This is accomplished in Java Programming language with the new keyword or by assigning initial values to the array in a pair of braces. A valid declaration and initialization for the above question will be any of these two;
String [ ] names = new String [5];
String [ ] namesTwo = {"John", "James", "Jonathan","John", "Jabez"};
In the first example a new array object is created with the new keyword with a provision to hold five elements
In the second example the array is created and and assigned five elements.
Answer:
General purpose programs are software that are designed for the general public, e.g. Word processor, music player, maps application. These softwares don't require you to be have some specific need or skill to use them.
Specialized programs are software that are designed for a specific group of users and/or profession, like CAD, Adobe premier, Visual Studio. These softwares require you to be associated with some profession to be able to use them. Also, specialized programs are usually not free and may require a licensing fee.
Common features of application programs include,
1. Saving file
2. Contact for help
3. Changing preferences
4. Exiting application
5. Viewing or signing in to your account
Explanation:
Answer:
Following are the function to the given question:
void same_quantity_inventory(inventory *arr, int size)//defining a method same_quantity_inventory that takes two parameters
{
inventory *p = arr;//defining a pointer variable that holds array value
while (p < arr + size)//defining while loop that checks pointer value less than arr and its size
{
if (p->endQty == p->beginQty)//use pointer to check array start and end value
printf("name: %s, start quantity: %d, end quantity: %d\n", p->name, p->beginQty, p->endQty);//print value
p++;//incrementing pointer value
}
}
Explanation:
In the given code a method "same_quantity_inventory" takes two parameters that are "arr and size". In the next step, a pointer variable "p" is declared that holds the "arr" value. It defines the while loop that checks pointer value less than arr and its size inside the loop and if block is declared that use pointer to check array start and end value, and prints its calculated value.
Dear ,you should ask it on stackoverflow and geekforgeelks , not here
Answer:
HTML Tags
Explanation:
<h1> This is a header tag </h1.
<p> This is a paragraph tag. </p>
Put that on a text file and save it as hello.html. Then go to your file explorer - and boom you've got a webpage! :)