Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  India NewsIndia News  
Keywords
CLASS physics CASE RESULT UNION ICSE 2009 2007 computer question graph 2010 paper prelim SELECT YEAR 2004 2006 science papers
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
Java Find output question |a good one| EmptyFri Jun 08, 2018 2:34 am by adianadiadi

» Diamagnetic - Paramagnetic - Ni(CO)4, [Ni(CN)4]2- and [NiCl4
Java Find output question |a good one| EmptyFri Apr 06, 2018 1:05 am by adianadiadi

» IIT JEE chemistry solved interactive question paper
Java Find output question |a good one| EmptySun Oct 29, 2017 12:11 pm by adianadiadi

» IIT JEE 2015 SOLVED QUESTION PAPER
Java Find output question |a good one| EmptyWed Oct 19, 2016 1:44 pm by adianadiadi

» IIT JEE chemistry solved questions
Java Find output question |a good one| EmptySat Jul 18, 2015 6:15 pm by adianadiadi

» General Description of Chinese Market for Foaming Agent ADC
Java Find output question |a good one| EmptyFri May 09, 2014 2:09 pm by happybaicaitou

» How to get Lowest Cost MBBS Admission?
Java Find output question |a good one| EmptyMon Feb 24, 2014 6:39 pm by MENTOR 2014

»  girl boy vashikaran specialist agori baba ji +91-9461165
Java Find output question |a good one| EmptyTue Jan 21, 2014 6:00 pm by krshastri

»  STRONG LOST LOVE SPELL +91-9461165176
Java Find output question |a good one| EmptyTue Jan 21, 2014 6:00 pm by krshastri

Top posters
abhas
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
Anu..i luv icse...:)
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
G-7
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
siya
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
Candy
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
jOhNy
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
Apurva
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
WinRrule
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
ambili
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 
saif
Java Find output question |a good one| Vote_lcapJava Find output question |a good one| Voting_barJava Find output question |a good one| Vote_rcap 



Search if you can't find it here

Java Find output question |a good one|

View previous topic View next topic Go down
AuthorMessage
abhas
Active member
Active member
abhas


Java Find output question |a good one| Vide
PostSubject: Java Find output question |a good one| Java Find output question |a good one| EmptySat Jun 27, 2009 6:29 pm

Following is function of some class

int op(int a,int b)
{
int f=1,n=a;
while(b>0)
{
if(b%2==1)
b/=2;
n*=n;
}
return f;

}

Code:
(i)what will be returned if op(3,5) is invoked.[2]
(ii)what will be returned if op(2,8) is invoked.[2]
(iii)State in one line what is being evaluated in op().[1]
[]=marks distribution













try solving this it is slightly good(can be done for practice).
Back to top Go down

Java Find output question |a good one|

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: ISC :: ISC 2010 [Class xii] :: Computer-