Write a short note on pointer operators in c, Computer Engineering

Write a short note on pointer operators in c

Pointers (that is, pointer values) are generated with the ''address-of'' operator &, which we can also think of as the ''pointer-to'' operator. We demonstrate this by declaring (and initializing) an int variable i, and then setting ip to point to it:

 int i = 5;

ip = &i;

The assignment expression ip = &i; contains both parts of the ''two-step process'':&i generates a pointer to i, and the assignment operator assigns the new pointer to (that is, places it ''in'') the variable ip.


Posted Date: 6/14/2013 6:09:33 AM | Location : United States

Related Discussions:- Write a short note on pointer operators in c, Assignment Help, Ask Question on Write a short note on pointer operators in c, Get Answer, Expert's Help, Write a short note on pointer operators in c Discussions

Write discussion on Write a short note on pointer operators in c
Your posts are moderated
Related Questions
COMPUTER ORGANIZATION & ARCHITECTURE 1. What do you mean by digital computer? Explain the block diagram of a digital computer. 2. What do you mean by Difference Engine? Expl

Typewriters with special attachments Certain special attachments can be used to the typewriter for typing work of a special nature. These are: The continuous stationery dev

Draw a circuit of an NMOS inverter and explain its operation

Explain program interpretation process. In a program interpretation process , the interpreter reads the source program and stores this in its memory. This bridges an executi

Explain the advantages of computer Computer is one of the main components of an Information Technology network and getting increasing popularity. Nowadays, computer technology

A project having of a set of jobs and a set of precedences, where precedence (i; j) show that job j cannot begin before job i is completed. Let c i be the duration of job i. We wi

What is language of a model?   Language of a model is the collection of formulae that use only the relational symbols the model assign and that use every relation symbol with t

Q. Analysts in various functional areas? Today systems analyst's job presents a exciting and fascinating challenge. It provides high management visibility and opportunities for

Creating Files for Writing Only Creating Files for Writing Only : To create a text file for writing only, pass "w" into fopen as the second argument. This example follows along

Documentation is done to give others with information and ease maintenance. The best documentation is done in the headers (function and scripts) and directly in the code. Any usefu