We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Aslam o Alaikum 

Write Allah with c++ 

Please download the attached file given below 

Feel free to ask any question related to programming 


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 412

Attachments:

Replies to This Discussion

thank you 

bohat achaw hai

Thank you 

Welcome

 

need help in these questions

Q:Write the code for calling getline() member function of cin for reading 30 characters from the keyboard and storing it in the array 'Arr' of characters.

Q:Write the code for the declaration of a function named getMax which takes a 2D array of integers(3x3 dimension) as its parameter and returns a double pointer to an integer.

Answer for Q1

char Arr[30];

getline(cin,Arr);

Asnwer for Q2
int getMax(int Arr[][4]); // declaration of function

int getMax(int Arr[][4]){ // defincation of function
return Arr;

}
main(){
int array[3][4];

getMax(array); // function calling

}

thanks Badshah

pleasure

RSS

Looking For Something? Search Below

Latest Activity

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.