Can you combine the following two statements into one?
p = (char*) malloc(100);
View More Related Question
1) Comment on the following C statement.
const int *ptr;
2) What will be the output of the following C code?
int x = 0;
int *ptr = &5;
3) What will be the output of the program ?
char str = "Hello";
char *const p=str;
4) What is (void*)0?
5) How many bytes are occupied by near, far and huge pointers (DOS)?