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
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

write a program to find the area under the curve y=f(x) between x=a & x=b

#quGiven the Array class definition in Fig. 11.10-11.11 (pp. 476-479) of the textbook, write a new overloaded operator function for the ‘%’ (modulus) operator (i.e., return an arra

program of area under integration

Help me evaluate suitable OpenCV filters to get an inital working tracking algorithm. In this case it's objects moving on water (sea) and since I have very limited OpenCV knowledge

how to program?

Define the Meaning of Call by reference? In "call-by- reference", as an alternative of passing the value of a variable, the location number (or the address) of the variable is


Write a simple telephone book program that stores the names and phone numbers of your friends/acquaintances in a file. Your program should have the abilities to: a. Add entries (na