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 are the various types of stl containers?
What are the components of stl?
What is a list in c++ stl?
What are the symptoms of stl?
What are stl algorithms?
How connect plc and pc through software
What are the different types of stl containers?
What do stl stand for?
What is stl in c++ with example?
What is the stl, standard template library?
how to making game in c++ ?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
What is stl language?
What does stl stand for in basketball?