what is the difference between NULL('\0') and 0?
Answer Posted / dushyant
null means nill nothing is there. zero means something is there but we dont know....
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What is the difference between memcpy and memmove?
When should I declare a function?
explain what is an endless loop?
What is meant by initialization and how we initialize a variable?
What do you understand by normalization of pointers?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What are the uses of null pointers?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Give the rules for variable declaration?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is function in c with example?
What is typedef struct in c?
Explain the use of function toupper() with and example code?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
Explain how can you determine the size of an allocated portion of memory?