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

Answer Posted / praveen verma

I think there is no difference.

There is no difference between int *x and int* x;
Also there is no agreement.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a built-in function be recursive?

588


What is binary object model?

606


What are exceptions c++?

599


What is a linked list in c++?

552


What is rtti in c++?

629






What is tellg () in c++?

727


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

610


What is the difference between a definition and a declaration?

581


How can I learn c++ easily?

627


Is c++ fully object oriented?

554


Are vectors faster than arrays?

572


What is vector string in c++?

578


Show the declaration for a static member variable.

534


Can a class be static in c++?

573


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

583