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: 415

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

D$OuLoVeRwHeLm€d posted discussions
4 minutes ago
Dennis Dunn updated their profile
11 minutes ago
Zohaib Hassan replied to Zoha n's discussion wo hum safar tha... ^_^
15 minutes ago
D$OuLoVeRwHeLm€d liked D$OuLoVeRwHeLm€d's discussion Sachi Mohabbat
30 minutes ago
D$OuLoVeRwHeLm€d liked D$OuLoVeRwHeLm€d's discussion Mard
33 minutes ago
D$OuLoVeRwHeLm€d posted a status
"Kisnei Rulaya Us Aurat ko? Acha kehte ho woh ik mard hai Nhin woh mard nhi hai Mard urat kei kamzori nhi Mazbooti hota hai"
35 minutes ago
D$OuLoVeRwHeLm€d liked D$OuLoVeRwHeLm€d's discussion Poetry
1 hour ago
D$OuLoVeRwHeLm€d liked D$OuLoVeRwHeLm€d's discussion kisi ko dil
1 hour ago
Zoha n commented on Zoha n's blog post Your Goal..
1 hour ago
Zoha n posted discussions
1 hour ago
D$OuLoVeRwHeLm€d liked D$OuLoVeRwHeLm€d's discussion Poetry
1 hour ago
Zoha n replied to Zoha n's discussion Jhuki Jhuki Si Nazar...!!
1 hour ago

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

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

.