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 / mishra
Its showing error on first line in HPUX.
char *p='a';
Error:-
======
error 1522: Cannot initialize a pointer with an integer
constant other than zero.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
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 stl is different from the c++ standard library?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
What is stl stack?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What are stl algorithms?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What is stl language?
Explain stl.
how to use C++?
How connect plc and pc through software
What are the various types of stl containers?
how to making game in c++ ?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
What is the stl, standard template library?