Explain what is the difference between null and nul?



Explain what is the difference between null and nul?..

Answer / Shashi Bhushan Shrivastva

'null' is a string literal that represents a special value in JavaScript, used for null or empty values. 'nul' (NULL character) is a byte with ASCII value 0, often used as a terminator in C-style strings.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

which operator is known as dummy operator in c?

2 Answers   Wipro,


Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }

4 Answers   Subex,


what is c language.

3 Answers  


What is a pointer variable in c language?

1 Answers  


write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?

1 Answers   TCS,


Meaning of () in c

1 Answers  


plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .

3 Answers  


How Many Header Files in c?

2 Answers   TCS,


What are global variables?

1 Answers  


What is dynamic variable in c?

1 Answers  


main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

2 Answers  


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


Categories