what is the difference between NULL('\0') and 0?
Answer Posted / karen
If the question is asking what is the difference between
char x = '\0' and char x = 0, the answer is there is no
difference. This is why you can use memset or zeromemory to
flush out an empty character array.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What are the 3 types of structures?
What standard functions are available to manipulate strings?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is 2c dna?
What are pointers? Why are they used?
why return type of main is not necessary in linux
What is the importance of c in your views?
Hi can anyone tell what is a start up code?
Difference between malloc() and calloc() function?
what will be maximum number of comparisons when number of elements are given?
What are the 5 data types?
What is substring in c?
Why is main function so important?