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

Answer Posted / shani chaudhari

null(\0) is used for termination of string meance each and
every string ended with \0 while 0 is mostly related with
binary operations..null(\0) meance nothing but 0 has its own
value and existance. both are different

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

663


Write a program to print ASCII code for a given digit.

692


Explain the use of fflush() function?

629


Which control loop is recommended if you have to execute set of statements for fixed number of times?

816


What is the scope of an external variable in c?

572






In c programming language, how many parameters can be passed to a function ?

637


What is a shell structure examples?

596


Differentiate between functions getch() and getche().

627


write a program to find out prime number using sieve case?

1646


What are different types of operators?

600


How do we declare variables in c?

579


What are # preprocessor operator in c?

635


What is the difference between #include and #include 'file' ?

610


What is the difference between malloc() and calloc() function in c language?

608


What does struct node * mean?

605