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

Answers were Sorted based on User's Feedback



what is disadvantage of pointer in C..

Answer / ravi joshi

Pointers is a wonderful concept if used carefully and in a
fully understood manner. Only drawback with pointers is
using multiple levels of dereferencing which leads to
confusion and most of the time data corruption and program
crash. Most dangerous thing with pointers I have experienced
is typecasting !!!

Is This Answer Correct ?    36 Yes 8 No

what is disadvantage of pointer in C..

Answer / poorna chandar rao.yerrabothu

CONFUSION
CRASHING

Is This Answer Correct ?    26 Yes 7 No

what is disadvantage of pointer in C..

Answer / ravi kira

one of the main disadvantage is we can access data out of
limits and another one is if any mistake done in freeing the
memory using pointers the entire system will crash

Is This Answer Correct ?    12 Yes 2 No

what is disadvantage of pointer in C..

Answer / myluvdeepu

i think that security is main concern with the pointers.
because we can access any memory location with this.
every address is accessible with the pointers.

Is This Answer Correct ?    18 Yes 9 No

what is disadvantage of pointer in C..

Answer / 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

what is disadvantage of pointer in C..

Answer / abdul rahman

One of the disadvantage is while we are deallocating the
memory by using the free function, by mistake if we use a
pointer for which we do not allocate memory, may lead to
complete system down. This is because that unknown pointer
may point to the memory in which system files are stored.

Is This Answer Correct ?    9 Yes 2 No

what is disadvantage of pointer in C..

Answer / vinothrajan.s

main disadvantage is security. how means using pointer
concept we can change the value which is assigned to
it.like this we lose our data.

Is This Answer Correct ?    8 Yes 4 No

what is disadvantage of pointer in C..

Answer / ami

normally pointer workes with address and if we can find the
address of any locatiion of hardware any one can easly
currpt the data that is the bigest problem with pointer but
still the os is written in c language that is not understand
by me

Is This Answer Correct ?    6 Yes 2 No

what is disadvantage of pointer in C..

Answer / saroun

i think that disadvantage is security. how means using
pointer concept we can change the value which is assigned to
it.like this we lose our data.

Is This Answer Correct ?    3 Yes 1 No

what is disadvantage of pointer in C..

Answer / yogesh rajoriya

normally pointer workes with address and if we can find the
address of any locatiion of hardware any one can easly
currpt the data that is the bigest problem with pointer but
still the os is written in c language that is not understand
by me

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is structure data type in c?

0 Answers  


Explain how do you determine the length of a string value that was stored in a variable?

0 Answers  


How do you redirect a standard stream?

0 Answers  


What is multidimensional arrays

0 Answers  


Why is it important to memset a variable, immediately after allocating memory to it ?

0 Answers  


What has to put when we are inserting as assembly language code into the C code? or When we are inserting as assembly language code into the C code we have to insert one thing at the start and of the assembly language. What are they?

2 Answers  


Explain the difference between malloc() and calloc() in c?

0 Answers  


Explain what is meant by high-order and low-order bytes?

0 Answers  


how the size of an integer is decided? - is it based on processor or compiler or OS?

19 Answers   HCL, JPR, Microsoft, nvidia,


Tell me is null always defined as 0(zero)?

0 Answers  


What is the difference between i++ and i+1 ?(in terms of memory)

3 Answers   HCL,


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

0 Answers   Wilco,


Categories