#include "stdafx.h"
#include<iostream>
#include<conio.h>
#include<ctime>
using namespace std;
int *p[10][20];//
int _tmain(int argc, _TCHAR* argv[])
{
cout<<sizeof(*p)<<endl;
getch();
return 0;
}
output: 80
but i cannot understand how it work.
usama sadaqat 0 Newbie Poster
phorce 131 Posting Whiz in Training Featured Poster
usama sadaqat 0 Newbie Poster
sepp2k 378 Practically a Master Poster
ddanbe commented: Nice! +14
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
sepp2k 378 Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.