20 c++ questions (beginner)

Discussion in 'C++' started by omgkiller629, Sep 26, 2010.

  1. omgkiller629

    omgkiller629 New Member

    Joined:
    Sep 26, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    1. C++ is case sensitive? True of False

    2. All elements of the standard C++ library are declared in what is called
    a ____space?

    3. What symbol is used to seperate different statements in C++
    ____colon?

    4. If we dont add a , return (number) , in a main () function, what will occur?

    5. Why is 0 put after return, usually in a main () function?

    6. A double usually takes __ bytes in computer memory?

    7. What is the difference between a CHAR [] and a string?

    8. What are the two ways to declare a constant?

    9. What does this operators mean (!=) ?

    10. What does this operator mean (>=) ?

    11. What does the operater [sizeof()] do?

    12. cin (usually) input what from the users?

    13. What does cin.get() do?

    14. What does cin.getline(x,x) do?

    15. What is included to OUPUT information to a file?

    16. the "break" statement does what in a loop?

    17. Here is the basic structure for a function, insert the missing data:

    type name (what goes here?, and here?) {statements}

    18. What does the keyword (VOID) mean when used as a function return type?

    19. Null usually = 0 in C++? True or False?

    20. What does the (++) operator do?



    anyone know ?
     
  2. jimblumberg

    jimblumberg New Member

    Joined:
    May 30, 2010
    Messages:
    120
    Likes Received:
    29
    Trophy Points:
    0
    I'm sure quite a few people know the answers. The question is: Do you?
     
  3. omgkiller629

    omgkiller629 New Member

    Joined:
    Sep 26, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I will post correct answers Monday if no one could answer then 100% correct :)
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    How do we know that this isn't a ruse for us to give you the answers?
    Anyway some of your questions (5,6,7,12,18,19) are based on unstated assumptions so are unanswerable as asked.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice