what is disadvantage of pointer in C
Answer Posted / abdul rahman
One of the disadvantage is while we are deallocating the
memory by using the free function, by mistake if we use a
pointer for which we do not allocate memory, may lead to
complete system down. This is because that unknown pointer
may point to the memory in which system files are stored.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What are the 5 organizational structures?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is meant by inheritance?
which is an algorithm for sorting in a growing Lexicographic order
What are derived data types in c?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
What is a constant?
What does the && operator do in a program code?
What is formal argument?
What are structure types in C?
Explain high-order bytes.
What does the format %10.2 mean when included in a printf statement?
Do you know what are bitwise shift operators in c programming?
In c programming language, how many parameters can be passed to a function ?
the question is that what you have been doing all these periods (one year gap)