what is diference between return 0 and return NULL??
Answers were Sorted based on User's Feedback
Answer / sourabh
return 0 means the function returns the particular value 0
returnn null means the function does not return any value'
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / dips
return 0 is indicatiion of successsfull completetion of
programme generally we write return 0 for that purpose
return null its returnig nothing in some condition we may
dont require to return any value
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / bajishareef
o is the value oriented decimal constant which is of integer type.
Where as NULL is the address oriented empty value.
Both are not equal
| Is This Answer Correct ? | 1 Yes | 2 No |
how to use enum datatype?Please explain me?
What are the main characteristics of c language describe the structure of ac program?
Do pointers need to be initialized?
A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }
What is the importance of c in your views?
Is c an object oriented programming language?
#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain
How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;
Explain b+ tree?
What is void main () in c?
Is an array parameter is always "by reference" ?
write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix