What is the exact difference between '\0' and ""
Answers were Sorted based on User's Feedback
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 |
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 |
Are the expressions * ptr ++ and ++ * ptr same?
what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }
Explain the difference between the local variable and global variable in c?
What is the use of a static variable in c?
What is the c value paradox and how is it explained?
void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?
What is c definition?
what is develop in c language
Are the outer parentheses in return statements really optional?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"
What are terms in math?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }