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

Ques.Implement a c/c++ program to find a shortest path between two nodes in a network?network should be taken as an adjacency matrix.

algorithem of compound interest

padovan string for natural numbers program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : package test.padovanstring; public class Padov

how to write a program for all the types of beam reactions

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec


How do you access the values within an array? - Arrays comprise a number of elements, which depends on the size you assigned it during variable declaration. - Every element

Set of Integers) Create class IntegerSet. Each IntegerSet object can hold integers in the range 0-100. The set is represented by an array of bools. Array element a[i] is true if in

Question 1 Write a program in ‘C' to check whether a given number is even or odd Question 2 Explain while and do... while loop with an example Question 3 Write a program