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 |
yogesh patil in dell
A marketing company wishes to construct a decision table to decide how to treat clients according to three characteristics: Gender, City Dweller, and age group: A (under 30), B (between 30 and 60), C (over 60). The company has four products (W, X, Y and Z) to test market. Product W will appeal to female city dwellers. Product X will appeal to young females. Product Y will appeal to Male middle aged shoppers who do not live in cities. Product Z will appeal to all but older females.
In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a
can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?
What is stack in c?
What is the best style for code layout in c?
What is time null in c?
What is an array? What the different types of arrays in c?
What is the difference between memcpy and memmove?
Example of friendly function in c++
Write a program in c using only loops to print * * * * * *******
what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
7 Answers Cadence, JNTU, Zen Technologies,