deprosun's Profile
Reputation: 0
Apprentice
- Group:
- Active Members
- Active Posts:
- 137 (0.15 per day)
- Joined:
- 16-November 10
- Profile Views:
- 1,819
- Last Active:
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
Posts I've Made
-
In Topic: How is (x ∧ y → y) possible?
Posted 24 May 2013
-
In Topic: How is (x ∧ y → y) possible?
Posted 24 May 2013
-
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. -
In Topic: What is the probability of (X=6)?
Posted 8 Apr 2013
I am highly confused, but thanks -
In Topic: What does sizeof(int) mean in malloc?
Posted 28 Oct 2012
GunnerInc, 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
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
|
|


Find Topics
Find Posts
View Reputation Given



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