Q:

Can we combine the two statements

0

Can we combine the two statements

char *p;

p = (char*) malloc(100);


  1. char *p = (char *)(malloc*)(100);
  2. char *p = (char*)malloc(100);
  3. char p = *malloc(100);
  4. char *p = (char) malloc(100);

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

char *p = (char*)malloc(100);

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
which header file is the NULL macro defined?... >>
<< Assume the output of the following code:...