Answer:
Following are the statement:
counterPointer = &counter;
Explanation:
The following statement is correct because in the question it is given that there is an integer data type variable i.e., "counter" and there is another integer data type pointer variable i.e., "counterPointer" and finally we write a statement in which the pointer variable points to the integer variable.
There is your answer:
Flashing images
Answer:
it lets you get more work done
Explanation:
when you have a positive work attitude you want to do more stuff, and when it's bad you won't want to do anything
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is C i.e. String s = "apluse";
The rule or syntax of declaring string in any programming language is given below:
String variable-name = "yourString";
For declaring string variable, first, you write "String" that is a keyword of a programming languages for declaring string variables, such as int before the variable name for declaring integer variable. Then, you need to write a meaningful name of the string as a variable. After string variable name, you need to put the equal operator and then write the string in double quotation("") marks and after that put the instruction terminator that is ";".
So, according to this syntax, option C is correct.
While other options are not correct because:
In option a, string is not encapsulated in double quotation. Option B does not have varaible type such as String and Option E does not have variable name and its value also. So, only option C is correct and all other except C are incorrect.