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 |
What is the use of a semicolon (;) at the end of every program statement?
what is the difference between NULL & NUL keywords in C?
Why preprocessor should come before source code?
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
what will happen if you free a pointer twice after allocating memory dynamically ?
How does free() know explain how much memory to release?
WHY DO WE USE A TERMINATOR IN C LANGUAGE?
What are operators in c?
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?
What are the advantages of union?
What is the exact difference between '\0' and ""