what is the difference between NULL('\0') and 0?
Answer Posted / siddhant
Null is used to terminate strings. It is a character constant..
0 is an integer constant. Its ASCII code is 48.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between structure and union in c programming?
What is void main ()?
Write a program to swap two numbers without using the third variable?
Explain can you assign a different address to an array tag?
Is array a primitive data type in c?
What is the scope of global variable in c?
What is the difference between exit() and _exit() function?
What do the functions atoi(), itoa() and gcvt() do?
Explain what is page thrashing?
What is "Duff's Device"?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
Do you have any idea how to compare array with pointer in c?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What are the features of the c language?