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 |
What is scanf_s in c?
write a program to convert a expression in polish notation (postfix) to inline (normal)
What is Generic pointer? What is the purpose of Generic pointer? Where it is used?
Tell me what are bitwise shift operators?
What are the keywords in c?
write a programe returns the number of times the character appears in the string
code snippet for creating a pyramids triangle ex 1 2 2 3 3 3
What is the difference between mpi and openmp?
What is static memory allocation? Explain
How can a number be converted to a string?
How can a string be converted to a number?
how can we use static and extern?and where can we use this?