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 / anita sachdeva
yes,
*p='a'
*i=100/*p i.e. 100/97
=1
hence *i=1
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
What is stl stack?
How connect plc and pc through software
How do you convert stl to steps?
What are the different types of stl containers?
What are stl algorithms?
Can we use stl in coding interviews?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
What do stl stand for?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
Is string part of stl?
What is a stl vector?
What is stl stand for?
Who created stl?
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.