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
Write a program to use switch statement.
Why is struct padding needed?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
How can I write a function that takes a format string and a variable number of arguments?
What are the applications of c language?
How a string is stored in c?
What is equivalent to ++i+++j?
What is string function c?
What are the types of c language?
What is build process in c?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
How can a number be converted to a string?
What is a good data structure to use for storing lines of text?
write a program to create a sparse matrix using dynamic memory allocation.
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none