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
How stl is different from the c++ standard library?
What is meant by stl in c++?
What are the various types of stl containers?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
what is template and type convertion
What is stl in oop?
Who created stl?
write a program to convert a decimal number in to its equivalent binary number?
Why should a c++ programmer be interested in stl?
totoo po ba ang manga aliens!
What are the symptoms of stl?
What are the components of stl?
How connect plc and pc through software
What is a stl vector?
Is string part of stl?