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 |
advantages of pointers?
State the difference between realloc and free.
how we do lcm of two no using c simple if while or for statement
Why are algorithms important in c program?
What is calloc() function?
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?
main() { FILE *fs; char c[10]; fs = fopen(“source.txt”, ”r”); /* source.txt exists and contains “Vector Institute” */ fseek(fs,0,SEEK_END); fseek(fs,-3L,SEEK_CUR); fgets(c,5,fs); puts(c); }
Is return a keyword in c?
What is masking?
Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.
2 Answers Drona Solutions, Infosys, Vodafone, Webyog,
How does C++ help with the tradeoff of safety vs. usability?
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...