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 / satish

int *i=100/*p;

here in this line /*p is like starting a comment so it shuld
terminate ....

so answer is error ...

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

1640


What are the different types of stl containers?

641


Is stl open source?

623


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

1884


What is a standard template library (stl)? What are the various types of stl containers?

663






write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

2493


What are the various types of stl containers?

725


What two types of containers does the stl provide?

566


Is stl part of c++ standard?

637


What are the symptoms of stl?

595


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

636


Who created stl?

643


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1693


What is stl in oop?

671


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1772