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...

What's wrong with "char *p; *p = malloc(10);"?

Answer Posted / guest

The pointer you declared is p, not *p.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you increase the allowable number of simultaneously open files?

1097


How can a process change an environment variable in its caller?

1148


#include { printf("Hello"); } how compile time affects when we add additional header file .

1864


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

2284


When the macros gets expanded?

1352


Does c have circular shift operators?

1193


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1688


What is cohesion and coupling in c?

990


Is calloc better than malloc?

978


What is the process to generate random numbers in c programming language?

1116


Why doesnt the call scanf work?

1146


Are the outer parentheses in return statements really optional?

1062


Explain bitwise shift operators?

1183


What are called c variables?

1022


What is difference between Structure and Unions?

1195