what will happen if you free a pointer twice after
allocating memory dynamically ?
Answer Posted / zan
segmentation fault
| Is This Answer Correct ? | 19 Yes | 10 No |
Post New Answer View All Answers
What is the difference between constant pointer and constant variable?
Explain how do you override a defined macro?
What is variables in c?
Why we use stdio h in c?
What is the value of uninitialized variable in c?
How can I determine whether a machines byte order is big-endian or little-endian?
Can we change the value of constant variable in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
List the difference between a While & Do While loops?
Can you subtract pointers from each other? Why would you?
what are the 10 different models of writing an addition program in C language?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
How can I automatically locate a programs configuration files in the same directory as the executable?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer