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
what is template and type convertion
What is the stl, standard template library?
how to making game in c++ ?
How do you convert stl to steps?
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
What is stl stack?
Is string part of stl?
How do I convert a stl file?
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
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is stl language?
What is stl stand for?
Who created stl?
Is stl open source?
What two types of containers does the stl provide?