Answer Posted / asif karim
#include <stdio.h>
#include<iostream>
using namespace std;
void main()
{
const int var=10;
int a;
a=*(int* )& var=20;
cout<<a;
}
| Is This Answer Correct ? | 3 Yes | 10 No |
Post New Answer View All Answers
You run a shell on unix system. How would you tell which shell are you running?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
How does atoi function work?
Refer to a name of class or function that is defined within a namespace?
What is ios :: in in c++?
What is c++ map?
How to demonstrate the use of a variable?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
What is size of string in c++?
Write bites in Turbo c++ Header ("Include") Files.
What is lazy initialization in c++?
What is searching? Explain linear and binary search.
How do you declare A pointer to a function which receives nothing and returns nothing
What is encapsulation in c++ with example?
What is the need of a destructor? Explain with the help of an example.