Web Reference: @user1876088: The error means exactly what it says it mean. There's really nothing to add here. positionH is an int *. The function is declared as returning int. So, your return positionH attempts to convert int * to int, which is illegal. The real question here is what your code is supposed to mean. What did you try to achieve by that function? Jul 23, 2025 · In both C and C++, strings are sequences of characters enclosed in double-quotes. In this article, we will learn why is the conversion from string constant to 'char*' valid in C but invalid in C++. In both C++ and C, an implicit conversion from “ char** ” to “ const char** ” is illegal. In fact, such a conversion is illegal, no matter whether it’s a fundamental type (like char, int, or unsigned long) or a user-defined type (like a class or struct).
YouTube Excerpt: Learn how to resolve `
Information Profile Overview
C C Error Invalid Conversion - Latest Information & Updates 2026 Information & Biography

Details: $58M - $100M
Salary & Income Sources
![Why I'm getting this error: invalid conversion from 'const char\*' to 'char' [-fpermissive]? Content](https://i.ytimg.com/vi/lOJP6EolbYQ/mqdefault.jpg)
Career Highlights & Achievements

Assets, Properties & Investments
This section covers known assets, real estate holdings, luxury vehicles, and investment portfolios. Data is compiled from public records, financial disclosures, and verified media reports.
Last Updated: April 3, 2026
Information Outlook & Future Earnings

Disclaimer: Disclaimer: Information provided here is based on publicly available data, media reports, and online sources. Actual details may vary.








