Some pointer arithmetic is allowed. Which of the following arithmetic operators is allowed?

a. pointer + integer
b. pointer - pointer
c. pointer - integer
d. integer + pointer
e. integer * pointer


a) b) c) and d) are correct.

Computer Science & Information Technology

You might also like to view...

Which of the following choices is not part of the design category within the software implementation process?

A. Software requirements B. Software architectural design C. Software detailed design D. Software integration

Computer Science & Information Technology

If you assign int cost = 395.75; what actually will be stored in memory?

A 396 B. 395.75 C. 395 D. 395.750000

Computer Science & Information Technology

What is the output of the following code?

``` public class Test { public static void main(String[] args) { String s1 = new String("Welcome to Java!"); String s2 = new String("Welcome to Java!"); if (s1 == s2) System.out.println("s1 and s2 reference to the same String object"); else System.out.println("s1 and s2 reference to different String objects"); } } ``` a. s1 and s2 reference to the same String object b. s1 and s2 reference to different String objects

Computer Science & Information Technology

The ________ option under Insert Table enables you to create a customized table by first drawing the outside boundaries of the table, and then creating the rows and columns within the table borders

A) Insert Table B) Draw Table C) Import Template D) Grid Structure

Computer Science & Information Technology