what is diference between return 0 and return NULL??
Answer Posted / 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 |
Post New Answer View All Answers
When is the “void” keyword used in a function?
Describe static function with its usage?
Which one would you prefer - a macro or a function?
Why is structure padding done in c?
What is the use of #define preprocessor in c?
Differentiate between ordinary variable and pointer in c.
What is return in c programming?
Tell me what is null pointer in c?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Explain what is wrong with this program statement? Void = 10;
Explain that why C is procedural?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What is the sizeof () operator?
How can you check to see whether a symbol is defined?
What is use of #include in c?