What is namespace?
Answers were Sorted based on User's Feedback
Answer / kumarvikash1985
namespace is a collectoin of classes ...and without
declaring the namespace we can't use the fionctionality of
programming language.
| Is This Answer Correct ? | 8 Yes | 13 No |
Answer / nagalakshmi
namespace s used stored the variables like that.
| Is This Answer Correct ? | 0 Yes | 5 No |
Answer / naveen kumar
it is used to solve the problem when there is conflict
between class names
| Is This Answer Correct ? | 12 Yes | 20 No |
Answer / ritesh kumar rawat
Namespace is logical group of classes.It can span multiple
assembly.
| Is This Answer Correct ? | 7 Yes | 17 No |
Answer / kumarasamy
namespace is a one of the problems solved by namespaces,
that of conflicting class names
| Is This Answer Correct ? | 7 Yes | 32 No |
What is ambiguity in c++
what is mean by design pattern
What is debug class?what is trace class? What differences are between them? With examples.
What are oops methods?
What is abstraction oop?
Differences between inline functions and non-inline functions?
#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
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
What is the point of polymorphism?
WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
what is the difference between class to class type conversion and copy constructor ?
What are oops functions?