if i have same function with same number of argument but
defined in different files. Now i am adding these two files
in a third file and calling this function . which will get
called and wht decide the precedence?
Answer / s.verma
The return type of the function and the type of arguments
passed to the function will determine which function will be
called.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is and I oop mean?
What are the advantages of inheritance?
26 Answers IBS, TCS,
swapping program does not use third variable
What is overriding in oop?
What is the difference between abstraction and polymorphism?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.
How is data security provided in Object Oriented languages? ?
What are the four main oops concepts?
what is inline function?
write a program to find 2^n+1 ?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort