deprosun's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
137 (0.15 per day)
Joined:
16-November 10
Profile Views:
1,819
Last Active:
User is offline Private
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   deprosun Hey!

Posts I've Made

  1. In Topic: How is (x ∧ y → y) possible?

    Posted 24 May 2013

    View Postmacosxnerd101, on 24 May 2013 - 06:11 PM, said:

    Because your original statement still implies y. We just simplified everything before that final implication.


    Gotchya!
  2. In Topic: How is (x ∧ y → y) possible?

    Posted 24 May 2013

    View Postmacosxnerd101, on 24 May 2013 - 05:46 PM, said:

    The implication x -> y is equivalent to ~x v y. So x ^ (~x v y) = (x ^ ~x) v (x ^ y). As (x ^ ~x) = False, (x ^ y) v False = (x ^ y).


    But, how is (x ^ y) implying y in the end?
  3. In Topic: What is the probability of (X=6)?

    Posted 8 Apr 2013

    You won't stick the last song in the end as the music will stop after 5!.
    I don't understand why the denominator is 5^6 when after choosing the first song you have only 4 choices to choose from. Shouldn't it be something like 5*4^(n-1) where n is equal to the number of songs? Remember you can't have repeating values right after a song is played, so after your initial choice (of 5 songs) you can only choose from 4 songs.
  4. In Topic: What is the probability of (X=6)?

    Posted 8 Apr 2013

    I am highly confused, but thanks
  5. In Topic: What does sizeof(int) mean in malloc?

    Posted 28 Oct 2012

    View PostGunnerInc, on 27 October 2012 - 05:45 PM, said:

    An int is a WORD (2 bytes) on a 16bit machine, a DWORD (4 bytes) on an 32bit machine, a QWORD (8 bytes) on a 64 bit machine, and maybe 128 bytes on some really future machine. What the sizeof operator does, is allows you to avoid specifying machine-dependent data sizes in your programs. You compile your code for a certain CPU, the compiler will then replace sizeof with the correct size for the data type for that CPU.

    if n was 4, and code compiled for a 32bit machine, malloc would allocate 16 bytes of memory and return a pointer to that memory.


    Got it! Thanks a ton :tup:

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Woburn,MA
Interests:
Computers, Cricket, Running, Working Out, Graphics Designing, Filming, Photography, Swimming, Food,
Full Name:
Karan Gupta
Years Programming:
1
Programming Languages:
JAVA, C++

Contact Information

E-mail:
Click here to e-mail me
Facebook:
http://www.facebook.com/deprosun

Comments

deprosun has no profile comments yet. Why not say hello?