• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

What is going wrong with my code ?

https://code.sololearn.com/cQmxmZa2KR0O/?ref=app

arrayscppgfg
4th Nov 2022, 3:59 PM
Abhay mishra
Abhay mishra - avatar
1 Answer
+ 3
Line 28 : replace int *array = new int[2]; Remove line no:45 delete *arr;
4th Nov 2022, 4:33 PM
Jayakrishna 🇼🇳

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
CAN ANYONE SUGGEST ME AS A STUDENT WITH A PASSION OF CODING WHICH CODING LANGUAGE SHOULD I CHOOSE AS BEGGINER
5 Votes
I can't see my activity
2 Votes
[SOLVED] What's wrong in my code?
2 Votes
Hearts refill
2 Votes
I can't see my activity in my profile
1 Votes
Can anyone help me?
1 Votes
Assets not loading without trailing slash
1 Votes
Does skipping void Certificate?
2 Votes
Python
3 Votes
Is there any problem with "Ethical AI Foundations" course ???
1 Votes