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
What is the advantage of an array over individual variables?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
what is different between auto and local static? why should we use local static?
What do you know about the use of bit field?
What is the concatenation operator?
What are static variables in c?
Why string is used in c?
What are the basic data types associated with c?
What is the use of a static variable in c?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What are all different types of pointers in c?
How can a program be made to print the name of a source file where an error occurs?
I need previous papers of CSC.......plz help out by posting them.......
Explain how do you override a defined macro?
What is the difference between fread buffer() and fwrite buffer()?