what is disadvantage of pointer in C

Answers were Sorted based on User's Feedback



what is disadvantage of pointer in C..

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

what is disadvantage of pointer in C..

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

what is disadvantage of pointer in C..

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

Post New Answer

More C Interview Questions

Why do we use return in c?

0 Answers  


FILE PROGRAMMING

0 Answers   Wipro,


What are the key features in c programming language?

0 Answers  


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

0 Answers  


What's the best way to declare and define global variables?

7 Answers  






How would you rename a function in C?

0 Answers   Tech Mahindra,


find the minimum of three values inputted by the user

3 Answers  


What is the difference between macros and inline functions?

5 Answers   Global Edge, L&T,


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

0 Answers  


Explain what is the difference between text files and binary files?

0 Answers  


`write a program to display the recomended action depends on a color of trafic light using nested if statments

0 Answers  


what is dangling pointer?

1 Answers   LG Soft,


Categories