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...

Give the output of the following program
main()
{char *p='a';
int *i=100/*p;
}
what will be the value of *i= 1


Answer Posted / srinivasa. p

No,

It should give error.
1. char* not suppose to assign character.
2. and int *..assign to reference or allocate memory.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How stl is different from the c++ standard library?

1240


What is meant by stl in c++?

1163


What are the various types of stl containers?

1199


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

2366


what is template and type convertion

2462


What is stl in oop?

1227


Who created stl?

1212


write a program to convert a decimal number in to its equivalent binary number?

2691


Why should a c++ programmer be interested in stl?

1108


totoo po ba ang manga aliens!

2794


What are the symptoms of stl?

1117


What are the components of stl?

1125


How connect plc and pc through software

2499


What is a stl vector?

1276


Is string part of stl?

1218