what is the difference between normal variables and pointer
variables..............
Answers were Sorted based on User's Feedback
Answer / naga raju
a pointer is nothing more than an address, and a pointer variable is just a variable that can store an address.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vrushali
Hi Vighnesh,
Please explain the term data security.....
Thanks
| Is This Answer Correct ? | 13 Yes | 13 No |
Answer / priyanka
It gives the value stored at a particular address
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / rafiya
Variable is a name given to the memory location of the specified data type.
Pointers are the variables which are capable of storing another variable's address.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / nibedita
Pointers will store the variable address and normal variable
will store the variable value. But if you will declare int *p;
int i=10; and you want to accsess the memory of i you have
to write p=&i; But i can access directly the memory adress
of variable through printf("%d",&i); Then wht is the
difference between pointer and normal variable?
| Is This Answer Correct ? | 0 Yes | 3 No |
which one is better structure or union?(other than the space occupied )
Explain do array subscripts always start with zero?
What do you mean by dynamic memory allocation in c?
what is the difference between const char *p, char const *p, const char* const p
5 Answers Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,
What are enumerated types?
write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
What is a stream?
Explain what is the difference between a free-standing and a hosted environment?
Can we access the array using a pointer in c language?
How can you determine the maximum value that a numeric variable can hold?
what is the difference between i++ and ++i?