Which of the following statements is not valid C++ code?

a. int ptr = &num1;
b. int ptr = int *num1;
c. float num1 = &ptr2;
d. All of these are valid
e. All of these are invalid


e. All of these are invalid

Computer Science & Information Technology

You might also like to view...

Karn’s Algorithm

What will be an ideal response?

Computer Science & Information Technology

If a computer connects to the Internet, it must have a MAC address and an IP address

Indicate whether the statement is true or false

Computer Science & Information Technology

Within the braces for an@keyframesrule, you specify nested rules usingpixelsas selectors. _________________________

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

Computer Science & Information Technology

A(n) _____ printer uses only inkjet or thermal print technology.

A. desktop B. mobile C. network D. postal

Computer Science & Information Technology