what is the difference between NULL('\0') and 0?

Answer Posted / guest

NULL('\0')- A string in C is always terminated by a null
character.The ascii value of '\0' is 0
0 - The ascii value of 0 is 48

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

618


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2338


How do we open a binary file in Read/Write mode in C?

685


Why main function is special give two reasons?

955


Explain how does flowchart help in writing a program?

636






write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2415


What will be the outcome of the following conditional statement if the value of variable s is 10?

772


What is the use of function in c?

716


What is a struct c#?

606


What is function in c with example?

636


How to declare pointer variables?

689


Can we assign string to char pointer?

592


What is a pointer on a pointer in c programming language?

624


What is calloc() function?

628


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

658