Answer Posted / hrpynux@gmail.com
Function Overloading allows us to have multiple functions with the same name but with different function signatures in our code. These functions have the same name but they work on different types of arguments and return different types of data. ... Therefore, C does not support function overloading.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is it valid to address one element beyond the end of an array?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
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
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is main () in c language?
What are loops in c?
find out largest elemant of diagonalmatrix
What is meant by 'bit masking'?
What is difference between class and structure?
How can you read a directory in a C program?
shorting algorithmS
What is the total generic pointer type?
What is malloc() function?
What is difference between constant pointer and constant variable?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);