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 |
What is that continue statement??
What is the newline escape sequence?
why the execution starts from main function
Why preprocessor should come before source code?
Compare array data type to pointer data type
How pointer is different from array?
how to print a statement in c without use of console statement ,with the help of if statement it should print
can we print any string in c language without using semicolon(;)(terminator) in whole program.
WHAT IS MEANT BY LIFE?
What are qualifiers and modifiers c?
. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }