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 in c using only loops to print * * * * * *******
What is substring in c?
1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do
1 Answers AAS, Nagarro, Vuram,
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
what are the advantages & disadvantages of unions?
write a program to print data of 5 five students with structures?
Write a program in C to convert date displayed in gregorian to julian date
1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop
Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a)); printf("\nSize of 2.0 ::%d",sizeof(2.0));}
11 Answers IBM, TCS,
Explain 'far' and 'near' pointers in c.
Which is an example of a structural homology?
Convert the following expression to postfix and prefix (A+B) * (D-C)