what is the difference between normal variables and pointer
variables..............
Answer Posted / sree
normal variable stores a value of the given datatype where
as the pointer variable stores the address of a variable.
for example
int n=10;
int *p;
p=&n;
here p is a pointer variable and n is a normal
variable.p stores the address of n where as n stores an
integer value.
*p prints the value of n,p prints the address
of n.
| Is This Answer Correct ? | 117 Yes | 19 No |
Post New Answer View All Answers
code for quick sort?
What is unary operator?
Explain how can a program be made to print the name of a source file where an error occurs?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is null pointer in c?
What is adt in c programming?
What is the difference between new and malloc functions?
What does. int *x[](); means ?
What is an lvalue?
What are shell structures used for?
What are the two types of functions in c?
Why is c called c?
Sir i need notes for structure,functions,pointers in c language can you help me please
How can I sort more data than will fit in memory?
What is use of bit field?