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

Answer Posted / guest

ASCII value of 0 is 0,but ASCII value of '\0' is 27.

Is This Answer Correct ?    22 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

713


Write a program to check prime number in c programming?

604


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1500


How many types of operators are there in c?

623


c language interview questions & answer

1465






What is c value paradox explain?

580


Is there a way to switch on strings?

623


How do you use a 'Local Block'?

728


What is typedef example?

622


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

4992


How can I prevent another program from modifying part of a file that I am modifying?

618


What is the size of enum in c?

625


Why does everyone say not to use gets?

612


What is the size of array float a(10)?

659


When should I declare a function?

628