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

Answers were Sorted based on User's Feedback



what is the difference between normal variables and pointer variables................

Answer / guest

normal variables carry the specified data where as the
pointer variable carried the address of the specified data,,,,,
eg: if we give int x =10; ptr p=*x;here x is the normal
variable carries 10 and pointer variable is p which carried
address of the integer variable x.

Is This Answer Correct ?    215 Yes 31 No

what is the difference between normal variables and pointer variables................

Answer / sree

normal variable stores a value of the given datatype where
as the pointer variable stores the address of a variable.
for example
int n=10;
int *p;
p=&n;
here p is a pointer variable and n is a normal
variable.p stores the address of n where as n stores an
integer value.
*p prints the value of n,p prints the address
of n.

Is This Answer Correct ?    117 Yes 19 No

what is the difference between normal variables and pointer variables................

Answer / supriya basak

Normal variable is a variable which can hold a value as like
eg. int,float or char,it may be signed or unsigned and take
different memory space as per as their data type.But the
pointer variable is a variable which hold the address of a
another variable,and it is obviously unsigned and take
always 2 byte in memory space.

Is This Answer Correct ?    88 Yes 23 No

what is the difference between normal variables and pointer variables................

Answer / sasireka

normal variable contains tha value of variable either int
or float whereas pointer variable contains the address of
another variable

Is This Answer Correct ?    65 Yes 32 No

what is the difference between normal variables and pointer variables................

Answer / vignesh1988i

NORMAL VARIABLES POINTER VARIABLES

it holds a data it holds the address
of variable
another data when we
we make it to point

it can be directly referred data can be referred as *
by it's variable name

normal variables don't have data it has full data security
security




thank u

Is This Answer Correct ?    37 Yes 13 No

what is the difference between normal variables and pointer variables................

Answer / fatima javaid

"Pointer variable holds memory address or physical address
of any variable value means it indirectly points any
vaiable,we can perform all operations +,*,-,and / through
it but normal variable directly points vaiable value"

Is This Answer Correct ?    21 Yes 5 No

what is the difference between normal variables and pointer variables................

Answer / 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

what is the difference between normal variables and pointer variables................

Answer / yshwanth

variable is an memory alocation were the value keps on
changing during the execution of the program

Is This Answer Correct ?    11 Yes 7 No

what is the difference between normal variables and pointer variables................

Answer / abdinadir mohamed abdulle

"Pointer variable holds memory address or physical address
of any variable value means it indirectly points any
vaiable,we can perform all operations +,*,-,and / through
it but normal variable directly points vaiable value"

Is This Answer Correct ?    6 Yes 2 No

what is the difference between normal variables and pointer variables................

Answer / ashu_deepu

one thing i wanna add is we canot perform some operation
with the pointers (like subtraction) while those can b
performed with the normal variables.

Is This Answer Correct ?    15 Yes 12 No

Post New Answer

More C Interview Questions

when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none

7 Answers   HCL,


matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.

5 Answers   TCS,


Tell me what is the purpose of 'register' keyword in c language?

0 Answers  


What does sizeof function do?

0 Answers  


Can you please explain the scope of static variables?

0 Answers  


wats SIZE_T meant for?

1 Answers  


What is the 'named constructor idiom'?

0 Answers  


How can we see the Expanded source code and compiled code for our source program in C?

1 Answers  


WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?

28 Answers   3D PLM, Code Studio, Deltech, IBM,


Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work

2 Answers  


What is the usage of the pointer in c?

0 Answers  


Write down the program to sort the array.

4 Answers   Impiger,


Categories