i am getting an of the type can not convert int to int *.

to overcome this problem what we should do?



i am getting an of the type can not convert int to int *. to overcome this problem what we should..

Answer / Dharmendra Patel

To overcome this problem, ensure that you are not trying to assign a variable of one integer data type to another of the same data type. If you are converting strings to integers, make sure they do not contain non-numeric characters.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

Write a macro for swapping integers

5 Answers  


What is memory leak and memory corruption?

1 Answers   TCS,


what is the use of classes in c++;

2 Answers   HCL,


What is the main purpose of inheritance law?

1 Answers  


what is the difference between function template and template of function?explain with example.

2 Answers  


Which method cannot be overridden?

1 Answers  


How can you overcome the diamond problem in inheritance?

1 Answers   NIIT,


When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory??

13 Answers   HCL, Honeywell,


c++ is a pure object oriented programming or not?

5 Answers   Wipro,


How to overload postfix operator in c++

1 Answers   Mphasis,


what is oops

4 Answers   DELL,


define oops concept with example

1 Answers   Cap Gemini,


Categories