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
Write about the access privileges in c++ and also mention about its default access level?
How do I get good at c++ programming?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What is object in c++ wikipedia?
What are the basics of local (auto) objects?
How do c++ struct differs from the c++ class?
Which function should be used to free the memory allocated by calloc()?
Explain friend class?
What are the classes in c++?
What are formatting flags in ios class?
Explain this pointer?
Difference between delete and free.
What is c++ used for in games?
Define pre-condition and post-condition to a member function in c++?
what is C++ objects?