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 does stl stand for in basketball?
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
What is stl in oop?
What are the symptoms of stl?
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
How do I convert a stl file?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Is string part of stl?
How stl is different from the c++ standard library?
What two types of containers does the stl provide?
Who created stl?
What is the stl, standard template library?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
What are the components of stl?
What are the different types of stl containers?