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
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is command line arguments in C++? What are its uses? Where we have to use this?
Can you pass a vector to a function?
What is constant in c++ with example?
Explain the difference between c++ and java.
What is private inheritance?
Program to check whether a word is a sub-string or not of a string typed
How is new() different from malloc()?
Distinguish between new and malloc and delete and free().
Define pre-condition and post-condition to a member function in c++?
What is long in c++?
What is the advantage of an external iterator.
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What is constructor in C++?
How will you call C functions from C ++ and vice-versa?