what is diference between return 0 and return NULL??
Answer Posted / 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 |
Post New Answer View All Answers
Write a program to reverse a given number in c language?
Differentiate fundamental data types and derived data types in C.
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Is c easy to learn?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is multidimensional arrays
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is #include stdio h?
What is double pointer?
What is #define?
Is main an identifier in c?
What is putchar() function?
What is && in c programming?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
In which header file is the null macro defined?