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
Who wrote stl?
What are the different types of stl containers?
How do I convert a stl file?
sir please send me bpcl previous question papers
What is stl in oop?
In what scenario does the Logical file and Physical file being used?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
Define stl.
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
What are the components of stl?
Who created stl?
When did c++ add stl?
How connect plc and pc through software
What are the symptoms of stl?
What is a list in c++ stl?