Determine the size of an interger data type without using , C/C++ Programming

Determine the size of an interger data type without using sizeof() function?

A: #include int main()

{

int *i ;

int *j = i + 1;

cout << " size of an integer variable i = " << (int)j - (int)i << endl;

}

 

Posted Date: 3/21/2013 7:41:01 AM | Location : United States







Related Discussions:- Determine the size of an interger data type without using , Assignment Help, Ask Question on Determine the size of an interger data type without using , Get Answer, Expert's Help, Determine the size of an interger data type without using Discussions

Write discussion on Determine the size of an interger data type without using
Your posts are moderated
Related Questions
write a program to calculate the cuboid

how to search, display all data and delete data

Class Definition The following is the general format of defining a class template: class tag_name                  {                    public  :               // Must

Hey vrcoder I have got similar way but the game builder has sent me the game unfinished and left. I saw it on a link on line but they have wiped the old message with the link in it

Q:  Tells the operators one can override; which operators should he override? A: Bottom line: don't puzzle your users. Remember the reason of operator overloading: to decreas


Q. Explain that how do we implement two stacks in one array A[1..n] in such a way that neither the stack overflows unless the total number of elements in both stacks together is n.

Define Four Facilities Provided by C Language Preprocessor? The C language preprocessor provides four separate facilities that you can use as you see fit:   Inclusion

search words from a passage and return snippets in html format..

The continue statement The continue statement causes the next iteration of the enclosing loop to start. When this is encountered in the loop , the rest of the statements in the