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
What do you mean by “this” pointer?
What is type of 'this' pointer?
Is there a c++ certification?
What is copy constructor? Can we make copy constructor private in c++?
How is c++ different from java?
What is an associative container in c++?
What are the methods of exporting a function from a dll?
how to explain our contribution in the project?
What methods can be overridden in java?
What are the two types of comments, and how do they differ?
What is the importance of mutable keyword?
What do you mean by static variables?
Is C++ case sensitive a) False b) Depends on implementation c) True
What is a pointer with example?
What is the difference between prefix and postfix versions of operator++()?