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 a list in c++ stl?
Why should a c++ programmer be interested in stl?
Can we use stl in coding interviews?
Is string part of stl?
What is a stl vector?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
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 stand for?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
What is stl language?
What are the various types of stl containers?
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
How connect plc and pc through software
Is stl open source?