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
What is MIME? MIME - Multi-purpose Internet Mail Extensions. MIME types signifies a standard way of classifying file types over Internet. Browsers and Web servers have

what will be the c program for ideal gas equation.

Problem #1: plugging the memory leak. When you employ the "normal" new operator, for example Foo* p = new Foo(), the compiler generates some special code to manage the case while t

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.

Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number


A: This is a name that acts as an alias, or alternative name, for a beforehand defined variable or an object. prepending variable along with "&" symbol makes it as reference. fo

Write a function that takes in a radius and evenly covers the screen with circles of that radius. Don't attempt to draw any circles that are completely off the screen.

write a c++ program to find the prime numbers

drawbacks in assignments in engeenirng