error invalid conversion from ‘int’ to ‘int*’

preview_player
Показать описание
How to fix above error.

If you found this video helpful or are new to C++ and pointers please go check out my other video "Quick Overview Of Pointers."

Remember programming is just like any other skill, practice will lead to mastery. IE Pocket Frogs, Facebook, and Google :D Keep up the hustle!
Рекомендации по теме
Комментарии
Автор

Hi, i'm getting some error ( invalid conversion from 'int' to 'int (*)[10]' [-fpermissive]| ) while using an array in a function, i created an array, then i tried to use that array in a function and it gave me this error, i've been searching for results for 2 days, i'm desperate, it's the first time i make a big project, i have to finish this game ( battleships ) in 2 days, and i don't know what to do anymore

tygrontix
Автор

Hello do you have a service to help with the invalid pointer operation ?

mikesky
Автор

What if im getting "invalid conversion from int* to int"

jacobobos
Автор

scanf("%d%d", &a &b); and erorr for some reason

vbt
Автор

{
int lcm;
lcm = a * b / gcd;
return lcm;
}

navyasree