There are basically two ways of calling sizeof:
sizeof unary-expression
sizeof ( type-name )
Parentheses is not bad, when you are not sure whether to add it or
not, just add it.
For your case, you should put parentheses around type int, and also
you can leave arr without parentheses. In tota
You need parentheses around "int": sizeof(int)
Don
On Jun 2, 2:41 pm, asit wrote:
> Please consider the following code
>
> // dequeue.cpp : Defines the entry point for the console application.
> //
>
> #include "stdafx.h"
> #include
> #include
> #include
>
> using namespace std;
>
> struct pri