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 an array? What the different types of arrays in c?

1116


How can I make it pause before closing the program output window?

998


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

1250


can we change the default calling convention in c if yes than how.........?

2484


where are auto variables stored? What are the characteristics of an auto variable?

1023


Explain what is the difference between functions abs() and fabs()?

1112


In which layer of the network datastructure format change is done

1844


Ow can I insert or delete a line (or record) in the middle of a file?

964


What is the difference between if else and switchstatement

1858


What is a 'null pointer assignment' error?

1173


In a switch statement, what will happen if a break statement is omitted?

1020


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

1055


How do you construct an increment statement or decrement statement in C?

1183


What is a example of a variable?

960


What is the difference between text and binary i/o?

1008