How many ways are there to initialize an int with a constant, C/C++ Programming

There are two ways for initializes in C++ as shown in the example that follows. The first way uses the traditional C notation. The second way uses constructor notation.

int foo = 123;

int bar (123);      

 

 

Posted Date: 4/9/2013 12:45:57 AM | Location : United States







Related Discussions:- How many ways are there to initialize an int with a constant, Assignment Help, Ask Question on How many ways are there to initialize an int with a constant, Get Answer, Expert's Help, How many ways are there to initialize an int with a constant Discussions

Write discussion on How many ways are there to initialize an int with a constant
Your posts are moderated
Related Questions
Write a program to get the largest element in an array using Function? # include int largest(int b[],int); main() { int lar,a[5]={12,2,36,40,5}; lar=largest(a,n); printf("


Describe Processing an array? The Single operations which involve complete arrays are not permitted in C language. therefore if a and b are similar arrays (for example same dim

#question.College life is tough. Eating pizza for every meal is hitting you hard. You are looking at working out to stay healthy. You found a web site that tells you how many ca

how to make a diamond from steric

Write a program to print all the factors of a positive integer A

You're going to simulate a metropolitan subway train.  The train system will start out at Station #1, or Home  Station, and will service multiple stations along its route.

Virtual Webcam effects - Setup and Source code with Nice User Interface Project Description: I want a similar webcam effects application which can apply effects to webcam fee

explain me for loop

Problem: (a) A GUI can contain text-fields, buttons, and other labels. A button usually triggers an event on the GUI. Explain the different processes in registering an event