Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How will you allocate memory to double a pointer?

Answer Posted / pavan135

main()
{
char *pch; **ppch;

pch = malloc(100);
if(pch == NULL)
return -1;
ppch = &pch;

}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes are occupied by near, far and huge pointers (dos)?

1158


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1438


What is union and structure in c?

1230


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1368


What is #include conio h?

1002


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1173


What are the two types of functions in c?

1015


What is define directive?

1157


What is 'bus error'?

1155


What is #define size in c?

1197


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1725


Explain what is the benefit of using const for declaring constants?

1038


What is sizeof int in c?

1062


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2318


What are the different types of control structures?

1048