Which of the following is NOT a rule for naming a memory location in C++?

A. the name must begin with a letter
B. the name cannot contain spaces
C. the name cannot be a keyword
D. names in C++ are not case sensitive


Answer: D

Computer Science & Information Technology

You might also like to view...

Answer the following questions true (T) or false (F)

1. Only member functions can be virtual. 2. Destructors are automatically virtual.

Computer Science & Information Technology

A key that creates a detectable pattern is referred to as which of the following?

A. repeating key B. plain key C. weak key D. crypto key

Computer Science & Information Technology

If the chage command is used without options, it is in ____ mode.

A. default B. terminal C. interactive D. inactive

Computer Science & Information Technology

(Fibonacci Series) The Fibonacci series 0, 1, 1, 2, 3, 5, 8, 13, 21, ... begins with the terms 0 and 1 and has the property that each succeeding term is the sum of the two preceding terms. (a) Write a nonrecursive function fibonacci(n) that uses type int to calculate the nth Fibonacci number. (b) Determine the largest int Fibonacci number that can be printed on your system. Modify the program of part (a) to use double instead of int to calculate and return Fibo- nacci numbers, and use this modified program to repeat part (b).

What will be an ideal response?

Computer Science & Information Technology