Can't we do without pointers or make a programming language that deals without pointers?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Tutor

python is without pointers
Comments

Web Engineer

Yes. Many languages have no pointers. In fact, most post-C++ languages in common use don’t have them. Java has no pointers; only references to objects. You won’t find a pointer in Python, PHP, Haskell, or Scala. (Of course, you can argue about whether nullable references are “pointers” or not, but for...
read more
Yes. Many languages have no pointers. In fact, most post-C++ languages in common use don’t have them. Java has no pointers; only references to objects. You won’t find a pointer in Python, PHP, Haskell, or Scala. (Of course, you can argue about whether nullable references are “pointers” or not, but for me the critical distinction is that you can’t perform arithmetic on references.) Many earlier languages lack pointers as well. Lisp doesn’t need them, and most BASIC variants don’t support dynamic allocation at all. Many stack-based languages lack pointers (although Forth has them!) Of course, some of these languages do support wrapping up a pointer from C code into some sort of object, in order to use a C or C++ library. And underneath, at the machine level, there are still plenty of pointers in use— you just can’t access them. read less
Comments

Related Questions

What is C language?
It is a general purpose high level language used to make software for operating systems (kernel programms), game development, Embedded devices etc. It avoids the complexity of writing machine code and...
Profile Photo
Shiva
Is it valid to address one element beyond the end of an array?
No, array is a fixed size memory allocation for variables. It is illegal to access elements beyond the allocated space.
Profile Photo
Shivani
How do I learn C programming easily?
focus on hands-on practice by writing, running, and debugging code.
Profile Photo
Altaf
0 0
View Comments5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

What Would Be Life Cycle Of A Fresher After Campus In An IT Company?
1. Basic Technical Training: Since freshers are not subject matter experts so gone through 3 - 6 months basic technical training within Organization. 2. Technical Assessment: HR sends freshers to various...
Profile Photo

C Programming basics
C PROGRAMMING BASICS 10 Hours Introduction to ‘ C’ programming –fundamentals – structure of a ‘C’...
O

Om K.

0 0
View Comments0

C Program-Infinite Loop[For] Demo
//Header Files #include<stdio.h>#include<conio.h> //Main function void main(){ //Function for clearing screen clrscr(); //Infinite for loop for(;;) { printf("Hello!"); } //Function for...
Profile Photo

Pro learners tip for C language
First get the concept of algorithm before heading to write your first program.
Profile Photo

C Program-Temperature [conversion from farenheit to degree celsius]
//WAP to convert temperture from farenheit into degree celsius //Header files#include<stdio.h>#include<conio.h> //Main functrion void main(){ //Variable declaration of type float float...
Profile Photo

Recommended Articles

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you