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 the importance of pointers? People stress more on them. Why they are useful actually what is their importance?
Importance of pointers:- Pointers are used in situations when passing actual values is difficult or not desired. To return more than one value from a function. They increase the execution speed. The...
Profile Photo
Pati
What are the toughest topics in C language?
1. pointer 2. dynamic memory allocation 3. File handling
Profile Photo
Lokayya
0 0
View Comments5
What is the structure of a C program?
A basic structure of a C program typically consists of: 1. **Preprocessor Directives:** These are lines of code that begin with a `#` symbol. They are instructions to the compiler to include certain...
Profile Photo
Snehal
0 0
View Comments5
Is it necessary to learn data structures in C language only?
data structure helpful to improve your coding stability
Profile Photo
Vikas
0 0
View Comments8
what is the significance of lvalue?
An lvalue (locator value) represents an object that occupies some identifiable location in memory (i.e. has an address).
Profile Photo
Abhishek

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

Ask a Question

Related Lessons

C Program-Error Handling
//Header files #include<stdio.h>#include<conio.h>#include<stdlib.h> //Main function void main(){ int dividend=10; int divisor=0; int quotient; //Function for clearing screen clrscr(); ...
Profile Photo

Some Tricky Questions in C
Can you write two functions in which one executes before main function and other executes after the main function? #pragma startup #pragma exit Where, priority is optional integer value.For user priority...
Profile Photo

Operators in C
Operators in C Operator: An operator is a symbol that tells the compiler to perform certain mathematical or logical calculations. Operators are used in programs to manipulate data and variables. The...
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

Recursion in C Programming
The process of calling a function by itself is called recursion and the function which calls itself is called recursive function. Syntax of Recursive Function returntype recursive_func () { statements; ...
R

Ravindra Yadav

2 0
View Comments0

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