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

To add with Mr. Mishra's answer.
int *i=100/*p;
=========
Error 1 error C2440: 'initializing' : cannot
convert from 'int' to 'int *'

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

totoo po ba ang manga aliens!

2340


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2097


Is stl part of c++ standard?

645


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

2084


what is template and type convertion

1999






What is meant by stl in c++?

657


What are the symptoms of stl?

607


Is string part of stl?

681


Who wrote stl?

682


What are the different types of stl containers?

652


What is a stl vector?

628


What are the components of stl?

626


What is stl language?

680


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

1897


How do you convert stl to steps?

635