Can u assign null value to int variable?   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkTechnology - Talk Only Tech � Can u assign null value to int variable? Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of pageLink to this message

Godfather
Bewarse Legend
Username: Godfather

Post Number: 14642
Registered: 03-2004
Posted From: 80.63.180.90

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, December 09, 2004 - 3:11 am:Edit PostDelete PostView Post/Check IP

naku anduke .Net nachindi.. boldantha time vuntundi DB lo postukovadaniki
Top of pagePrevious messageNext messageBottom of pageLink to this message

Vemana
Pilla Bewarse
Username: Vemana

Post Number: 212
Registered: 12-2004
Posted From: 66.27.208.16

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, December 08, 2004 - 12:30 am:Edit PostDelete PostView Post/Check IP

actually, null accept chese variables takkuva.. vaatiki ... if that variable is initialized with null it gets initialized..

If you try to initialize a variable that is not supported, either a compile error or unexpected/garbage value may be stored..

Also this 'null' concept is Relational database concept introcuded by EF Codd to represent missing and unknown data... later we started using it in other programming languages..
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bhrigu
Yavvanam Kaatesina Bewarse
Username: Bhrigu

Post Number: 1116
Registered: 11-2004
Posted From: 148.87.1.170

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, December 08, 2004 - 12:17 am:Edit PostDelete PostView Post/Check IP

>> we dont need any memory for it.

ante oka variable ki null assign chesthe, aa variable initialize kaada ?
Top of pagePrevious messageNext messageBottom of pageLink to this message

Vemana
Pilla Bewarse
Username: Vemana

Post Number: 205
Registered: 12-2004
Posted From: 66.27.208.16

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, December 08, 2004 - 12:14 am:Edit PostDelete PostView Post/Check IP

kaadu... null is different from 0..

null is represented internally with bit.. is_null flag. we dont need any memory for it.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bhrigu
Yavvanam Kaatesina Bewarse
Username: Bhrigu

Post Number: 1087
Registered: 11-2004
Posted From: 148.87.1.170

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, December 07, 2004 - 11:51 pm:Edit PostDelete PostView Post/Check IP

null ante 0 kaadaa ? :o
Top of pagePrevious messageNext messageBottom of pageLink to this message

Vemana
Pilla Bewarse
Username: Vemana

Post Number: 186
Registered: 12-2004
Posted From: 66.27.208.16

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, December 07, 2004 - 10:59 pm:Edit PostDelete PostView Post/Check IP

logically you can not assign nul to integer.. since IEEE integer type means : 1 bit for sign and 31 bits for number. There is no sign bits to store nulls. So it must be a value -INTMIN and +INTMAX depending the platform
Top of pagePrevious messageNext messageBottom of pageLink to this message

Billa_pichodu
Kurra Bewarse
Username: Billa_pichodu

Post Number: 639
Registered: 04-2004
Posted From: 65.90.49.2

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, December 07, 2004 - 7:06 pm:Edit PostDelete PostView Post/Check IP

Top of pagePrevious messageNext messageBottom of pageLink to this message

Billa_pichodu
Kurra Bewarse
Username: Billa_pichodu

Post Number: 344
Registered: 04-2004
Posted From: 195.47.45.58

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, June 17, 2004 - 8:09 pm:Edit PostDelete PostView Post/Check IP

tokka ley
{ naatho raa, gooba meeda naalugu istaa}
Top of pagePrevious messageNext messageBottom of pageLink to this message

Brad
Bewarse Legend
Username: Brad

Post Number: 2794
Registered: 03-2004
Posted From: 204.99.118.9

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, June 16, 2004 - 2:51 pm:Edit PostDelete PostView Post/Check IP

>>programmers most lazy guys on earth


ippudu samma gaa vundaa??
Top of pagePrevious messageNext messageBottom of pageLink to this message

Dara
Kurra Bewarse
Username: Dara

Post Number: 442
Registered: 03-2004
Posted From: 207.203.156.105

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, June 15, 2004 - 11:12 pm:Edit PostDelete PostView Post/Check IP


Growth itself contains the germ of happiness
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sollu
Censor Bewarse
Username: Sollu

Post Number: 1385
Registered: 03-2004
Posted From: 67.170.139.13

Rating:N/A
Votes: 0(Vote!)

Posted on Tuesday, June 15, 2004 - 11:04 pm:Edit PostDelete PostView Post/Check IP

Microsofts new .net frame work allows u to do so...and visual studio 2k5 is going to make the programmers most lazy guys on earth with its new features....KIKIKIKI