What Are Various Merits And Demerits Of Ponters In Language C?
Pointers used in language C have many merits and demerits.merits are many but demerits are very less.
2 Answers - Sort by: Date | Rating
C is a programming language for computers. It supports the use of Pointers. Pointers are basically a simple reference that records the address or location of a function or object in memory. The following are the merits of Pointers:
- They can be dereferenced to access data
- They can be manipulated by assignment and pointer arithematic.
- They can be used for Text strings, Dynamic memory allocation etc
The demerits of Pointers are as follows:
- Null pointer can result in run-time error.
- Void pointers can not be dereferenced
- They can be dereferenced to access data
- They can be manipulated by assignment and pointer arithematic.
- They can be used for Text strings, Dynamic memory allocation etc
The demerits of Pointers are as follows:
- Null pointer can result in run-time error.
- Void pointers can not be dereferenced
1
0
Pointers are used for call by reference and using these,there is no need to return the value storing it in a variable in the main function.
The demerit is that they increase complexity of the program.
The demerit is that they increase complexity of the program.
0
0
- How Can I Create A Online Banking Database?
- 1.7. What Is A Database System?
- How Can I Describe A Erd?
- What Is The Difference Between Procedural And Non Procedural DML?
- What Is A Good Database Design?
- What Are The Advantages Of Normalisation?
- What The Functions Of My Sql?
- What Is The Glycaemic Index?
- Describe The Function That Should Be Provided By Modern Full Scalemulti User Dbms?
- Discuss The Responsibilities Of Database Administrators?
- What Are The Approaches For Managing The Design Of A Database System That Has Multiple User View?
- What Is The Main Advantage Of Telex System Over The Telephone?
- How Do You Plan Database?
- What Is How Many Types User In Dbms?
- What Is The Difference Between Drop,delete, Truncate In Database?
- Discus Various Objective Data Base Approach Which Objectives Do You Consider Most Important And Why?
- Who Many Dbms And Name Dbms?
- How Properties Are Conserved When Database Is Distributed?
- Why Is The Relational Database Approach Better Than Earlier Methods?
- Can Anyone Give Me An Example Of A Paper Based Database?
- Explain Various Types Of Set Operations In SQL?
- Is Data Report System Worthwhile?
- What Is Advantages Of Computerize Database Over Manual Database?
- How Dbms Enforce Data Integrity?
- What Is Disadvantage Of Database Management System?
- What Are The Merits And Demerits Of High Level Language?
- What Is A Website? What Are Its Merits And Demerits?
- What Are Merits And Demerits Of Arithmetic Mean?
- What Are The Merits And Demerits Of Money?
- What Are The Merits Or Demerits Of Internet?
- What Are The Merits & Demerits Of Computer?
- What Are Merits & Demerits Of Advertisement?

New Comment - Comments are editable for 5 min.