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
How many namespaces are there in c++?
Explain the difference between c & c++?
What are guid? Why does com need guids?
What is an adaptor class or wrapper class in c++?
Differentiate between the message and method in c++?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero
What are the advantage of using register variables?
Write a program which uses Command Line Arguments
Can a new be used in place of old mallocq? If yes, why?
What is virtual function? Explain with an example
What is a constant? Explain with an example.
How do you flush a buffer in c++?
How much do coding jobs pay?
What is c++ vb?
Write a program which employs Recursion