what is pointer?
Answers were Sorted based on User's Feedback
Answer / likhit gatagat
pointers in C are variables storing address of some another
memory variable/location to which they are pointing
e.g: int *p;
int s;
p=&s;
now if s has memory address 101 then p will be storing
this address i.e pointing to variable s
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / manoj singh
pointer is a just like a simple veriable as hold down the
address of another veriable.
it's value denoted by *.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / vijaya
By default functions are extern, so it is visible from the outer files. If it is as static then it is in invisible from the outer files.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sridhar
Pointers are the variables,which are used to store address of the another variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is there anything like an ifdef for typedefs?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
find the sum of two matrices and WAP for it.
c program to input values in a table(using 2D array) and print odd numbers from them
Using which language Test cases are added in .ptu file of RTRT unit testing???
What is hash table in c?
what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }
i need all types of question paper releted to "c" and other language.
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
How to find the usage of memory in a c program
What is double pointer in c?
how to do in place reversal of a linked list(singly or doubly)?