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
Arguments Passing Mechanism C++ supports the following argument passing mechanisms: i).  Pass by value: A copy of the arguments value is made and passed to the called functio


palindrome program with minimum character replacements


A: No. If they're utilized properly, they increase encapsulation. You frequently require splitting a class in half while the two halves will have distinct numbers of instances o

pls give me answer 01110-00110 in 2''s comlpiment in detail

In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, suc

C language lets us do this in a structure definition by putting: bit length after the variable that is. struct packed_struct { unsigned int f1:1; unsigned int f2:1; unsigned

write a queue program in c langauge?

Determine the size of an interger data type without using sizeof() function? A: #include int main() { int *i ; int *j = i + 1; cout }