Question
1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
int x = 9;
6.
int* p = &x;
7.
cout
What is the output of this program?
1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
int x = 9;
6.
int* p = &x;
7.
cout
Answer: Option C
Was this answer helpful ?
The size of a datatype mainly depends on complier only.
Output:
$ g++ def3.cpp
$ a.out
4
Was this answer helpful ?
More Questions on This Topic :
Question 3.
Pick out the correct option.
....
Question 6.
Which is used to do the dereferencing?
....
Submit Solution