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

What are the symptoms of stl?

851


totoo po ba ang manga aliens!

2559


How is stl different from c++ standard library?

992


What do stl stand for?

883


how to making game in c++ ?

2448


What is the stl, standard template library?

850


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

2119


How do you convert stl to steps?

878


When did c++ add stl?

963


What is stl language?

881


what is template and type convertion

2232


Explain stl.

1123


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

3124


What is meant by stl in c++?

901


Can we use stl in coding interviews?

1575