Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is disadvantage of pointer in C

Answer Posted / sourisengupta

The only drawback of pointer in C maybe that if used
carelessly, you can access and overwrite some critical
memory. For Eg: if you declare an array of 5 ints, arr[5].
and if you try to write on arr[5], you will end up writing
outside the array, and eventually corrupt some memory
location. So data security is lost while handling pointers

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can’t we compare structures?

1267


What does #pragma once mean?

1162


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

1312


Write a program of prime number using recursion.

1084


What are the benefits of organizational structure?

1020


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1202


Why pointers are used in c?

1006


Explain how do you determine a file’s attributes?

1044


Is return a keyword in c?

1075


Discuss the function of conditional operator, size of operator and comma operator with examples.

1158


By using C language input a date into it and if it is right?

1079


What are header files in c?

1076


How can you find out how much memory is available?

1068


In C language, a variable name cannot contain?

1274


Is c weakly typed?

1020