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


+ Link For Assignments, GDBs & Online Quizzes Solution


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

can not copy this code


cout"!!!!!!Overloaded new operator called!!!!!""n"endl;
cout"*********Coordinate for Location 1 :**********";
cout"Longitude = 10"endl;
cout"Latitude = 20""n"endl;
cout"*********After applying overloaded ++ operator on Location 1 *********"endl;
cout"Longitude = 11"endl;
cout"Latitude = 21n"endl;
cout"**********Coordinate for location 2 :**********"endl;
cout"Longitude = 30"endl;
cout"Latitude = 40n"endl;
cout"**********After applying overloaded -- operator on location 2 ************"endl;
cout"Longitude = 29"endl;
cout"Latitude = 39"endl;
cout"Overloaded delete operator called"endl;
system ("pause");
return 0;


+ 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: 857

Replies to This Discussion

hahaha...wah kia bat hai zero marks...

plz tell the sol of todays assign

using namespace std;
class Location
int longitude;
int latitude;
void display()
cout"Longitude = "longitudeendl"Latitude = "latitudeendl;

int setLongitude(int i)
int setLatitude(int i)
Location(int i, int j)
Location operator ++()
Location operator --()
void* Location::operator new(size_t size)
cout"Overloaded new operator called..."endl;
void * p=malloc(size);
return p;
void Location::operator delete (void *p)
cout"Overload delete operator called...";
Location* pc=static_cast<Location*>(p);

Location *p, a, b(30,40);
p=new Location(1,2);
coutendlendl"Coordinates for Location 1:"endl;
coutendlendl"After applying overloaded ++ operator on Location 1:"endl;
coutendlendl"Coordinates for Location 2:"endl;
coutendlendl"After applying overloaded -- operator on Location 2:"endl;
delete p;

chq it plz

ye nai compile ho rai

plz send complete solution

plz try it wil work

need some syntax complition

yaps it work

is it the right solution nd complete.......plz tell na

it is right bt not complete

if u have a command on c++ so add <  these sign as where thy r needed

 thn it wil complete jawairiah baji

 & use little mind & get hands on c++ it will work out betr in life


Great work sis sadaf , peace and blessings is what i pray ur life to be with, great way to share idea solution as well as to let students do their own home-work. Cheeeers

Friends checks it



Looking For Something? Search Below

Latest Activity

+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ liked + ! ! Pagal Dewani ! ! +'s discussion Ap kase roty hain ....................????
35 minutes ago
+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ liked ★彡[ꜱʜʏɴᴀ]彡★'s discussion usi k naam sey jeena, usi sey merna hai
38 minutes ago
+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ liked ★彡[ꜱʜʏɴᴀ]彡★'s discussion Ke Aaj Raat Chale Gi Hawa Udaasi Ki..
38 minutes ago
+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ liked Omar's discussion Thanks giving
39 minutes ago
+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ replied to +!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓'s discussion ............❤️❤️❤️ASAL Kahaniiiii❤️❤️❤️.........
41 minutes ago
+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ liked ★彡[ꜱʜʏɴᴀ]彡★'s discussion Aksar
43 minutes ago
+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ liked Laila kabeer's discussion !!!!!!!!!! ISHFAQ AHMED!!!!!!!!!!!!!!!!!
55 minutes ago
+!!!★彡 "Å⫶l̊⫶å⫶n̊⫶ "彡★✓ liked + + + + " Tw!nkle "'s discussion Happy HAppy birthday !! FIYA
59 minutes ago
★彡[ꜱʜʏɴᴀ]彡★ posted discussions
4 hours ago
★彡[ꜱʜʏɴᴀ]彡★ replied to + ! ! Pagal Dewani ! ! +'s discussion Ap kase roty hain ....................????
8 hours ago
+ + + + " Tw!nkle " posted a discussion
8 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion ZOO507 Principles of Animal Ecology PPTs Slides With Solved MCQs File in the group ZOO507 Principles of Animal Ecology
10 hours ago

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

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