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
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What is the scope of static variable in c?
Explain what are preprocessor directives?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
In a byte, what is the maximum decimal number that you can accommodate?
Differentiate between new and malloc(), delete and free() ?
Explain how can you tell whether two strings are the same?
What is the condition that is applied with ?: Operator?
c program for searching a student details among 10 student details
When is the “void” keyword used in a function?
What is function definition in c?
please explain every phase in the "SDLC" in the dotnet.
Explain what are the different data types in c?
Why c is procedure oriented?
What is %lu in c?