Comment on Tutorial - Default arguments in C++ By Babbar Ankit



Comment Added by : hawa

Comment Added at : 2012-01-29 08:29:39

Comment on Tutorial : Default arguments in C++ By Babbar Ankit
dear sir, plz answer my following questions:

Q1- Why should all normal arguments precede all the default arguments in c++?

Q2- How can the compiler determine which argument corresponds to which one?

Q3- How can a compiler know for sure that a particular default argument is passed explicitly or not?


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hi All,

Can any one please let me k

View Tutorial          By: Deepak at 2015-03-19 15:24:40

2. its giving exception
javax.comm.NoSuchPortE

View Tutorial          By: Dc at 2012-06-07 04:08:19

3. nice tutorial
View Tutorial          By: Amit at 2010-04-16 04:48:52

4. thanks for he info, was looking everywhere for som
View Tutorial          By: John at 2011-05-16 11:28:54

5. thanks for your explanation, but for desired outpu
View Tutorial          By: bismillah at 2010-09-02 10:16:09

6. This post is about adding an application icon to a
View Tutorial          By: Rick at 2011-11-04 16:48:16

7. Hi.. I tried it on blackberry... I have a problem
View Tutorial          By: jeremejazz at 2011-01-12 22:56:02

8. Hi Nithya,
yes you can do that see the tut

View Tutorial          By: Ramlak at 2009-03-04 01:20:01

9. Better theory for those who have just started.

View Tutorial          By: kunal at 2010-05-13 05:55:05

10. You do not give an example on fillratio i want to
View Tutorial          By: reguieg at 2015-08-23 20:53:50