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
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 |
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 |
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 |
Answer / vinay
int is datatype and int pointer is datatype with address
| Is This Answer Correct ? | 2 Yes | 3 No |
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 |
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 |
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 |
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 |
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
How would you find a cycle in a linked list?
Can I initialize unions?
can any one provide me the notes of data structure for ignou cs-62 paper
IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.
how to swap 2 numbers in a single statement?
#ifdef TRUE int I=0; #endif main() { int j=0; printf("%d %d\n",i,j); }
disadvantages of realloc ?
what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }
What is double pointer in c?
write a program to check whether a number is Peterson or not.
print a "hello" word without using printf n puts in c language