Is there any difficulty with the following : char*a=null; , C/C++ Programming

Is there any difficulty with the following : char*a=NULL; char& p = *a;?

A: The result is indeterminate. You must never do this. A reference has to always refer to some object.

 

Posted Date: 3/19/2013 9:01:38 AM | Location : United States







Related Discussions:- Is there any difficulty with the following : char*a=null; , Assignment Help, Ask Question on Is there any difficulty with the following : char*a=null; , Get Answer, Expert's Help, Is there any difficulty with the following : char*a=null; Discussions

Write discussion on Is there any difficulty with the following : char*a=null;
Your posts are moderated
Related Questions
hi i want wite a C++ program that get one logical phrase (included {x,y,z,w,1,0}) and simplify it! but i ''m confused! thanxs for anubody help me...

Aim: To implement a program for bank account using static data type. Code: class bank {             static int acc_no;             int acc;             float b


A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Convert coordinate: class rect{                 private :                 float  x,y;                   public :                 void  input()

Write a C++ program that can be used to evaluate the credit worthiness of a client. The program reads the credit limit and the price and quantity of the item to be purchased by the

6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space".

aj is a newbie to the programming and while learning the programming language he came to know the following rules: - Each program must start with ''{'' and end with ''}''.

Program is to read the contents of a file: void main()    {   ifstream fin("ascii.txt");   char ch;   while(! fin.eof())     {   fin>>ch;   cout     }

Your task in this project is to write a C program named layout.c which does text layout. This is a staged project, complete the stages in order. The maximum mark if you nish each