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
Is c++ faster than c?
Write about the access privileges in c++ and also mention about its default access level?
Is c++ a good beginners programming language?
Write syntax to define friend functions in C++.
What are inline functions? What is the syntax for defining an inline function?
When does a name clash occur in c++?
Evaulate: 22%5 a) 2 b) 4 c) 0
When is the destructor called?
What does #define mean in c++?
What is iomanip c++?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
If a function doesn’t return a value, how do you declare the function?
Why do you use the namespace feature?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
What is a hash function c++?