Calling a function inside a function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Calling a function inside a function

I have a function called start in main and in the body i called an other function getcatpositive and i defined it in the header file. I cant print the values in getcatpositive function in main using start

23rd Feb 2021, 9:20 AM
Praneeth Reddy
Praneeth Reddy - avatar
1 Answer
+ 7
Praneeth Reddy Unfortunately the Description was blurry, it's hard to imagine what you mean. I suggest you to save the code in SoloLearn, and share the saved code link for analysis. Codes speaks better at times. P.S. Also add a relevant language name in tags, in addition to 'vs2019' up there, to improve language context clarity 👍 https://www.sololearn.com/post/75089/?ref=app
23rd Feb 2021, 9:27 AM
Ipang