What is the exact difference between '\0' and ""

Answers were Sorted based on User's Feedback



What is the exact difference between '\0' and ""..

Answer / hemas

'\0' is NULL character
"" is null string.

Is This Answer Correct ?    15 Yes 0 No

What is the exact difference between '\0' and ""..

Answer / guest

\0 is end of the string.
"" is empty charater, each space is also refered as
character

Is This Answer Correct ?    4 Yes 1 No

What is the exact difference between '\0' and ""..

Answer / naresh lingampally

`\0' (ascii NUL, which has value zero)
"" no spaces nothing implemented
.

I am confused can any one explain !!

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

What are the primitive data types in c?

0 Answers  


formula to convert 2500mmh2o into m3/hr

0 Answers  


Where does the name "C" come from, anyway?

0 Answers   Celstream,


Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.

2 Answers  


Binary tree traversing

1 Answers   Qualcomm,






Ow can I insert or delete a line (or record) in the middle of a file?

0 Answers  


main() { printf("hello"); fork(); }

0 Answers   Wilco,


Give basis knowledge of web designing ...

0 Answers   HCL,


How can I sort more data than will fit in memory?

0 Answers  


a simple c program using 'for' loop to display the output 5 4 3 2 1

2 Answers   Google,


What is a protocol in c?

0 Answers  


how to convert an char array to decimal array

4 Answers  


Categories