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 / anita sachdeva

yes,
*p='a'
*i=100/*p i.e. 100/97
=1
hence *i=1

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of stl?

639


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

1897


What does stl mean in slang?

653


What is stl stack?

665


What is a stl vector?

628






What is stl language?

682


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

1648


What are the various types of stl containers?

738


What is a standard template library (stl)?

649


Name the different types of stl containers.

695


What are the components of stl?

626


What two types of containers does the stl provide?

573


What are stl algorithms?

627


How is stl different from c++ standard library?

748


Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

1664