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

Answer Posted / sriram

yes. there is a difference.
Exactly to say, the second form is the integer pointer, but
the first form will produce an run time error.

Is This Answer Correct ?    0 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you print a string on the printer?

583


What are compilers in c++?

614


describe private access specifiers?

646


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

547


What are the two main components of c++?

592






Are vectors passed by reference c++?

521


What is binary search in c++?

570


What character terminates all character array strings a) b) . c) END

677


What is anonymous object in c++?

633


Name the implicit member functions of a class.

601


What is the benefit of learning c++?

555


Define namespace in c++?

652


What are the various compound assignment operators in c++?

554


What is setiosflags c++?

537


What is a pointer how and when is it used?

580