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 |
What are the different types of control structures in programming?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Difference between null pointer and dangling pointer?
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
Explain what is the difference between declaring a variable and defining a variable?
Explain what header files do I need in order to define the standard library functions I use?
Write a routine that prints out a 2-D array in spiral order!
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
wat is the meaning of c?
Is boolean a datatype in c?