Other Programming & Computer Science Answers

Questions: 1 727

Answers by our Experts: 1 357

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

What is the output of following function, if called as foo( rr,0,6) ? arr content as follows: a-b-c- d-e-f 

void foo(char arr[], int i, int s) 

if(i>=s)   return ; 

cout<< arr[i]; 

if * (i + 1 < s)

foo(arr, i+2,s) ; 

cout<<arr [ i]; }


Select one : 

a. a c e a c e 

b. a c e e c a 

c. a c b e e a

d. a d f f d a


What is the output of following function, if called as fun * (array, 0, 6) array content as follows: 1-2-3-4-5-6 ?


void fun(int array[], int index, int size) 

if(index >=size)

 return; 

cout<< array[index];

if(index+1< size) 

fun(array , index + 2 ,size);

cout << array[index];  


Select one:

a 132551 

b. 135531 

c.135135 

d. 146


Which is the correct syntax for returning an object by pointer ? 


Select one :

a. ClassName * functionName (){ }

b.*class object functionName () { }

c. void function Name (){ }

d. object& functionName() { }


How may byte are used in the following main knowing that int use 4 byte answer number only, like:4


class point

{

 int x , y ;

};

int main()

point obj; 

point arr * [2] ; 

}


The following code should get the first character of the first name, middle name , and name, then return print them However, fill the missing code to run correctly


int main(){

 char Name [3] [8]={"Mohd" , "Ashraf", "Zoghoul"; }

 char initials [4] ; int i=0;

 initials [0]________;

 initials [1]________;

 initials [2]________;

 initials [3]=' \0'________;

 cout << initials;

 return 0;}


a.Name[0][++i] 

b.Name[++i][0] 

c.Name[0][++i] 

d.Name[i++][0]


for class given below: what is the output if function print called ?


class AAA

{

int , public : void print()

{x=3.8, y = 1.9 ; cout<<x %y<<x/y;} 

}

Select one : 

a . 03

b. 00

c. 33

d. 02


When you have finished working with a document and need it for future you should close it


Mention at least 8 built in functions in R and explain their use in brief.


Explain what do you understand by Absolute and relative cell references in Excel


a)Why is an email placed in the unstructured category?

b) You have just got your your books issued from library. What are the details about the book that can be placed in an RDBMS table?

c) Which category would you you place the consumer complaints and feedback?




LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS