MCQOPTIONS
Saved Bookmarks
| 1. |
Point out the error in the following program. #include #include int main() { static char *p = (char *)malloc(10); return 0; } |
| A. | Error: Lvalue required |
| B. | Error: Rvalue required |
| C. | Error: invalid *p declaration |
| D. | No error |
| Answer» E. | |