What are callback functions in c++
Answer / bijaya kumar jena
Call back function is a member function call through by pointer.
| Is This Answer Correct ? | 4 Yes | 0 No |
What are different oops concepts?
How oops is better than procedural?
What is extreme programming?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
Program to check whether a word starts with a capital letter or not.
what is object oriented programming and procedure oriented programming?
what is function over loading?
Contrast OOP and SOA. What are tenets of each?
1 Answers Siebel Systems, Wipro,
What is byval and byref? What are differences between them?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort
WHEN A COPY CONSTER IS CALL ?
What is function overloading?,describe it with the example.