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



Subscribe to Tutorials

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. good for learners
View Tutorial          By: muhammed at 2012-11-20 10:38:28

2. sorry i think that's a constructor...just had one
View Tutorial          By: Gautam at 2013-10-14 15:55:14

3. plzzz xplain all d buzzwads.....
View Tutorial          By: sindhu at 2010-12-10 08:49:27

4. You are using stl; why do it by hand? All you nee
View Tutorial          By: gavin at 2013-02-21 12:31:29

5. Thanks for the tips.

I hesitated to

View Tutorial          By: Dick at 2011-10-09 15:21:50

6. hi every body i want full java code to send messag
View Tutorial          By: Yous at 2010-12-26 06:45:30

7. i got an error msg at runtime of jdbc program with
View Tutorial          By: madhu sudan at 2012-06-17 02:52:53

8. Different from the others,Good One
View Tutorial          By: Amiiiii java slayer at 2009-10-14 08:10:26

9. the exampe was really useful........
View Tutorial          By: smitha at 2011-03-10 21:27:55

10. Hi! I'm working on Ubuntu 10.04

At

View Tutorial          By: Rushabh at 2011-01-12 06:22:43