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

Can I learn c++ without learning c?

655


What is the best free c++ compiler for windows?

698


What is a syntax in c++?

718


Explain the uses of static class data?

712


You run a shell on unix system. How would you tell which shell are you running?

756






How is new() different from malloc()?

736


What is c++ 11 and c++ 14?

704


What is array give example?

670


What is c++ array?

636


What is the role of C++ shorthand's?

780


Does there exist any other function which can be used to convert an integer or a float to a string?

728


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

727


Can you please explain the difference between overloading and overriding?

708


How much do c++ programmers make?

646


What is a container class?

709