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


Please Help Members By Posting Answers For Below Questions

How do I convert a stl file?

775


Can we use stl in coding interviews?

1553


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

3100


totoo po ba ang manga aliens!

2533


What are the components of stl?

857


how to use C++?

2263


What do stl stand for?

865


how to making game in c++ ?

2426


Is stl part of c++ standard?

833


How is stl different from c++ standard library?

970


What is stl in oop?

941


What are the different types of stl containers?

871


Is string part of stl?

952


To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command

1984


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

1877