Monday 11 July 2011

Re: [Pak Youth] plz someone ans these MCQz

Aik mnt meerub sis actually main na kam kr rhe hon so dekhte hon so zehan main nahe arha tah ab yaad agay.

 Consider the following function:

void test_a(int n)

{

cout << n << " ";

if (n>0)

test_a(n-2);

}

 

What is printed by the call test_a(4)?

       ► 4 2

       ► 0 2 4

       ► 0 2

       ► 2 4


--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

No comments:

Post a Comment