www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# C++ (Write Allah)

Aslam o Alaikum

Write Allah with c++

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)

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.

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

}

pleasure

1

2

3

4

5

## Latest Activity

D\$OuLoVeRwHeLm€d posted discussions
4 minutes ago
Dennis Dunn updated their profile
11 minutes ago
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