Answer: embedded technology
Explanation: just took the test
Hi,
If you install a new software and you select option for all users the software will be installed in a special folder that is shared by all the users and each user would represent a subfolder in the shared folder.
Hope this helps.
r3t40
Answer:
Length of char array: sizeof(arr)
Length of a string object: myString.length()
Explanation:
The sizeof approach is generally not recommended, since this information is lost as soon as you pass the array to a function, because then it becomes a pointer to the first element.
Answer:
Your not including anything in your code.
Explanation:
According to your text all you have is #include. You didn't incldue any directives so you will get a error.
Answer:
class Main {
public static void printPattern( int count, int... arr) {
for (int i : arr) {
for(int j=0; j<count; j++)
System.out.printf("%d ", i);
System.out.println();
}
System.out.println("------------------");
}
public static void main(String args[]) {
printPattern(4, 1,2,4);
printPattern(4, 2,3,4);
printPattern(5, 5,4,3);
}
}
Explanation:
Above is a compact implementation.