what is disadvantage of pointer in C
Answers were Sorted based on User's Feedback
Answer / patel arbaz
The value of pointer can be changed at any given time using
call by reference
and the answer may get wrong....
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / adesh
as per Security point of view pointer is not safe. A lot of
threads are exist like buffer overflow problems.
| Is This Answer Correct ? | 7 Yes | 8 No |
Answer / vipin gupta
We can access restricted memory area.
Ex. const. int x;
x=10;
int *p;
p=&x;
*p=20;
variable declared as Constant cann't be changed but by using pointers we can do so.
| Is This Answer Correct ? | 1 Yes | 5 No |
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
what is the definition of storage classes?
IS Doon college of Engn.. has good faculty
What is quick sort in c?
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?
What is the explanation for cyclic nature of data types in c?
What are local variables c?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
When is the “void” keyword used in a function?
What is the meaning of && in c?
what is the different bitween abap and abap-hr?
#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }