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 |
will u please send me the placement papers to my mail???????????????????
# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none
What is an lvalue and an rvalue?
Explain the priority queues?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
what is the maximum no. of bytes calloc can allocate
What are the different types of control structures in programming?
What is the use of the sizeof operator?
Is c easier than java?
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
What is difference between function overloading and operator overloading?
Why is structure important for a child?