wt is diference between int and int pointer as same as
float and float pointer and char and char pointer

Answers were Sorted based on User's Feedback



wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / ravikumar

int gives the value of the integer but int pointer gives
address of the integer value

Is This Answer Correct ?    38 Yes 2 No

wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / shiva

* int Variable Stores a integer Value..
int pointer Stores a address of a integer Variable

* Float Variable Stores a Float Value..
Float pointer Stores a address of a Float Variable

* Char Variable Stores a Single Character
Char Pointer Stores Sequence of Characters

Is This Answer Correct ?    9 Yes 1 No

wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / vilas soni++

"int" can give it's value, and
we can put any integer value in it directly.

while "pointer" of an integer can give value of an
integer what's address it contain, and
we can not put any integer value in it directly like :
int *p;
p = 65201;
it will give error.......

Is This Answer Correct ?    5 Yes 1 No

wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / vinay

int is datatype and int pointer is datatype with address

Is This Answer Correct ?    2 Yes 3 No

wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / khajasirajuddin shaik

int is datatype which specifies integer type of data,where as int pointer specifies the address of an integer type variable

Is This Answer Correct ?    3 Yes 4 No

wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / jeeva

pointers always stores the address of the variable that it
is referred to....

when it is int pointer it means that the value at the
address that pointer holds is a integer (whole number)....


when it is char pointer it means that the value at the
address that pointer holds is a character....


when it is float pointer it means that the value at the
address that pointer holds is a floating point number....

Is This Answer Correct ?    1 Yes 3 No

wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / mohit (firozabad, a.d.college)

Pointer is a variable that hold the address of another
variable so address always integer type
The pointer type can not be char,float, etc

Is This Answer Correct ?    0 Yes 2 No

wt is diference between int and int pointer as same as float and float pointer and char and char p..

Answer / herok

int variable takes interger values but int pointer can take
address of an integer variable and also int variable takes
mainly 2 bytes and int pointer takes 4 bytes of memory
space.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More C Interview Questions

consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

7 Answers   TCS,


struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(ā€œ%dā€,s.x); }

2 Answers   Vector,


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

0 Answers   Microsoft,


program to convert a integer to string in c language'

0 Answers  


What are the types of operators in c?

0 Answers  






What is a C array and illustrate the how is it different from a list.

1 Answers   Amazon,


a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }

3 Answers   CSC,


What are all different types of pointers in c?

0 Answers  


What is the difference between exit() and _exit() function in c?

0 Answers  


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

0 Answers   TISL,


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

0 Answers  


Categories