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 |
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
What is the condition that is applied with ?: Operator?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Is that possible to add pointers to each other?
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
how to get starting address of a running C program
Write a program to print fibonacci series using recursion?
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
what are the 10 different models of writing an addition program in C language?
What's the total generic pointer type?
What is a const pointer?