regarding sizeof operator for class with no data variables

Discussion in 'C++' started by pratap, Aug 19, 2007.

  1. pratap

    pratap Guest

    consider this code snippet

    #include<iostream>
    using namespace std;

    class
    {
    void func()
    {

    };
     
    pratap, Aug 19, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. GRenard
    Replies:
    2
    Views:
    428
    Salt_Peter
    Nov 3, 2006
  2. pratap
    Replies:
    1
    Views:
    344
    Rolf Magnus
    Aug 20, 2007
  3. pratap
    Replies:
    3
    Views:
    261
    =?ISO-8859-1?Q?Erik_Wikstr=F6m?=
    Aug 20, 2007
  4. Kislay

    The sizeof operator : sizeof(++i)

    Kislay, Oct 18, 2007, in forum: C Programming
    Replies:
    10
    Views:
    688
    Peter Pichler
    Oct 19, 2007
  5. Nikolai Weibull

    sizeof(Class)/sizeof(Object)

    Nikolai Weibull, Dec 31, 2004, in forum: Ruby
    Replies:
    2
    Views:
    149
    Robert Klemme
    Dec 31, 2004
Loading...

Share This Page