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

Which header file is used for clrscr?

1057


Tell us something about keyword 'auto'.

1074


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2358


Explain how do you use a pointer to a function?

1108


How can I read data from data files with particular formats?

1048


How can you tell whether a program was compiled using c versus c++?

1108


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2130


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4688


What are the advantages of Macro over function?

2023


What is #define in c?

1048


Explain what is meant by high-order and low-order bytes?

1050


What is a nested formula?

1158


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2646


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.

2077


How to establish connection with oracle database software from c language?

2203