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
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
Write the syntax and purpose of a switch statement in C.
What is #define size in c?
Is c pass by value or reference?
How many parameters should a function have?
What is the value of c?
What is output redirection?
What is the function of multilevel pointer in c?
What is scope and lifetime of a variable in c?
How can you be sure that a program follows the ANSI C standard?
Give me the code of in-order recursive and non-recursive.
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Can true be a variable name in c?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?