what is disadvantage of pointer in C
Answer Posted / 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 |
Post New Answer View All Answers
What is wrong with this statement? Myname = 'robin';
What is fflush() function?
In which header file is the null macro defined?
In a switch statement, explain what will happen if a break statement is omitted?
How can I write a function that takes a format string and a variable number of arguments?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is the difference between far and near ?
What are header files? What are their uses?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
What are the 4 data types?
Difference between malloc() and calloc() function?
What is c value paradox explain?
What are the 32 keywords in c?
What is null pointer constant?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...