difference between overloading and overridding
Answers were Sorted based on User's Feedback
Answer / priyanka agrawal
In overloading functions will have same name but different
parameters lists but in overloading functions must have
same name and same signature.
| Is This Answer Correct ? | 1 Yes | 4 No |
write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?
2 Answers IBMS, Zycus Infotech,
write knight tour problem which is present in datastructure
Can main method override?
1. Define a class.
what is abstract class ? when is used in real time ? give a exp
What is the significance of classes in oop?
What is encapsulation in oops?
#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
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
What is data binding?
Are polymorphisms mutations?
write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation
1 Answers College School Exams Tests, HCL, IBM, TCS,