Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are the disadvantages of C++?

Answer Posted / madhava rao

1.it is not secure
2.it is not simple
3.it is not platform independent
sucure:
beacuse c++ contains
->pointers
->friend functions
->globla variables
i am trying to prove it programaticaly;
ex:
#include<iostream.h>
#include<conio.h>
class A
{
int a;
void add();
{
a=45;
cout<<a;
}
};
void main()
{
clrscr();
// hear i am try ing to create new bolck

{
// in side this block i am trying to create an object of
//type "A"
A obj;
obj.add();
// hear we may think that "obj" life has ended
}
//hear i am trying to create an pointer variable of type "A"
A *p;
// hear i am tryint to call a method to the pointer of
//tyep "A"
//with out assign any address
p->add();//it works
// than where is the security for u r "obj" already life
//edned
}
NOTE:
i cal prove the remain things also with programatically
pls contact: SoftTech computer Education,new mig,bhel hyderabad,
cell:91-9291543127
mail id: madhav_rao34@yahoo.in

Is This Answer Correct ?    17 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is object oriented programming so hard?

1092


What is coupling in oop?

1044


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2204


What is pointer in oop?

1067


What is the example of polymorphism?

1144


What are the advantages of polymorphism?

1042


What is encapsulation oop?

1058


What is the important feature of inheritance?

1151


• What are the desirable attributes for memory managment?

2246


write string class as your own class in java without using any built-in function

2513


Is enum a class?

1076


What is a superclass in oop?

1190


Why do we use inheritance?

1146


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6692


What is the difference between a mixin and inheritance?

1000