Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: Heff on Sep 3, 2017



Title: The following statement:int *ptr = new int;
Post by: Heff on Sep 3, 2017
The following statement:

   int *ptr = new int;

A) results in a compiler error
B) assigns an address to the variable named ptr
C) creates a new pointer named int
D) assigns an integer less than 32767 to the variable named ptr
E) None of these


Title: Re: The following statement:int *ptr = new int;
Post by: bestavinash on Sep 3, 2017
Content hidden