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 / satish

int *i=100/*p;

here in this line /*p is like starting a comment so it shuld
terminate ....

so answer is error ...

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does stl stand for in basketball?

649


What is a standard template library (stl)?

651


Is string part of stl?

681


how to making game in c++ ?

2183


How do I convert a stl file?

570






What is meant by stl in c++?

657


When did c++ add stl?

742


What do stl stand for?

647


Can we use stl in coding interviews?

1286


What is the use of stl?

639


What is the stl, standard template library?

600


What are the different types of stl containers?

652


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

1979


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

1384


What are the symptoms of stl?

609