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 is the difference between normal variables and pointer
variables..............

Answer Posted / mani

Normal variable:memory size of variables depends upon respective datatype; if int it'll take 2byte , char will take 1 byte.
Pointer variable:memory size of pointer variable is constant that is 4byte in gcc compiler irrespective of any datatype.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is const keyword in c?

1159


How do you override a defined macro?

1262


Explain what is #line used for?

1061


What is || operator and how does it function in a program?

1082


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2066


Why isnt any of this standardized in c?

1074


What are the usage of pointer in c?

1193


What is preprocessor with example?

1055


Can a pointer be null?

1021


What are the properties of union in c?

1052


Explain how can I open a file so that other programs can update it at the same time?

1104


What is the difference between array_name and &array_name?

1290


What are the header files used in c language?

1049


Explain indirection?

1124


What is storage class?

1073