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
Can we specify variable field width in a scanf() format string? If possible how?
What is binary search in c++?
What's the hardest coding language?
What are structs in c++?
Explain virtual class and friend class.
What are the four main data types?
Does a derived class inherit or doesn't inherit?
Is there finally in c++?
Explain mutable storage class specifier.
How delete [] is different from delete?
Does c++ have foreach?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
Is c++ a programming language?
What is the use of namespace std in C++?
Does c++ vector allocate memory?