what is the new version of c++
The latest version of C++ is C++11. To know more check this:
http://www.stroustrup.com/C++11FAQ.html
| Is This Answer Correct ? | 6 Yes | 1 No |
143.what is oops principles?
What is difference between function overloading and overriding?
What is encapsulation selenium?
Write a program to demonstrate the use of 'Composition' in C++
Explain the advantages of inheritance.
#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
What is polymorphism in oop example?
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
What Is a Polymorphism? How many types of polymorphism and whats that use in application?
why function overloading is not called as pure polymorphism?
What are the benefits of interface?
What is oops in programming?