Is there any difference between dlearations int* x and int
*x? If so tell me the difference?

Answer Posted / kris

yeah no difference, only matters if we declare 2 or more
variables in the int* a,b,c kind of thing,

chai

Is This Answer Correct ?    0 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of mutable keyword?

594


Explain class invariant.

595


Explain about Virtual Function in C++?

622


Is map sorted c++?

529


What is ostream in c++?

582






Explain the difference between overloading and overriding?

627


How do you decide which integer type to use?

586


Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort

645


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

601


When is the destructor called?

615


How can we check whether the contents of two structure variables are same or not?

598


Should a constructor be public or private?

551


What is stream and its types in c++?

570


why and when we can declar member fuction as a private in the class?

1614


Define a nested class. Explain how it can be useful.

648