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 |
Why do we use return in c?
FILE PROGRAMMING
What are the key features in c programming language?
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.
What's the best way to declare and define global variables?
How would you rename a function in C?
find the minimum of three values inputted by the user
What is the difference between macros and inline functions?
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.
Explain what is the difference between text files and binary files?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
what is dangling pointer?