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 stl in c++ with example?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
What is meant by stl in c++?
how to making game in c++ ?
What is stl stand for?
What two types of containers does the stl provide?
Name the different types of stl containers.
What are the components of stl?
What is the use of stl?
Who created stl?
What is stl in oop?
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
What are the various types of stl containers?
What are stl algorithms?
How does an stl file work?