Welcome Guest | Sign in | Register
C Basics - Discussion Page For Q.10578 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > C Basics > Questions and Answers

Q: How we combine two statements in one?
01 char *q;
02 q = (char*) malloc(10);
A. char p = *malloc(10); B. char *p = (char) malloc(10);
C. char *p = (char*)malloc(10); D. char *p = (char *)(malloc*)(10);

Answer and Explanation

Answer:char *p = (char*)malloc(10);

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.