English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

please give the answer coz tomorrow is my exam.

2006-06-09 04:12:34 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

0 - numeric (int)
'0' - character zero (ASCII code 48 [0x30])
"0" - string zero, zero followed by null terminator (ASCII code 48 followed by ASCII code 0)
'\0' - character null (ASCII code 0)

2006-06-09 04:48:04 · answer #1 · answered by seek_out_truth 4 · 0 0

You are having a C or C++ exam right?

I will expalin it

By 0 - It means a constant (A decimal number usually an Integer type)

By '0' - It indicates a character which comes in 1- 255 (Total 256) of the ASCII series.

By "0" - It indicates a string.

By '\0' - Its and end character or a NULL character.Atomatically after the end of everystring \0 is places(Which is hidden from the User)

Best of Luck for Tommorow's Exam

2006-06-09 06:03:00 · answer #2 · answered by DevanamPriyadarshi 3 · 0 0

orvado is absolutely correct ..

and hey ! ques poster .. best of luck for ur exams ..

2006-06-09 05:43:50 · answer #3 · answered by boolean_z 3 · 0 0

fedest.com, questions and answers