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 is fflush() function?

0 Answers  


Why shouldn’t I start variable names with underscores?

0 Answers  


What is the use of a ‘’ character?

0 Answers  


What is the size of structure in c?

0 Answers  


what are the different storage classes in c?

0 Answers   TCS,






What is meant by operator precedence?

0 Answers  


How reliable are floating-point comparisons?

0 Answers  


what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (ā€œ%d\nā€,j); }

14 Answers   Oracle,


How can this be legal c?

0 Answers  


What is the difference between fread buffer() and fwrite buffer()?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL

0 Answers  


Why is c faster?

0 Answers  


Categories