Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

nashi informatics solutions


{ City } chennai
< Country > india
* Profession *
User No # 125947
Total Questions Posted # 479
Total Answers Posted # 668

Total Answers Posted for My Questions # 836
Total Views for My Questions # 366901

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Answers / { nashi informatics solutions }

Question { 955 }

Explain RAII (Resource Acquisition Is Initialization).


Answer

• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.

Is This Answer Correct ?    0 Yes 0 No

Question { 1207 }

What is the difference between inline functions and macros?


Answer

• Inline Functions: Type-checked, replace function calls with code during compilation.
• Macros: Preprocessor directive, no type-checking.

Is This Answer Correct ?    0 Yes 0 No


Question { 1207 }

What is the difference between inline functions and macros?


Answer

1. Macros: Text substitution; no type checking.
2. Inline functions: Replaced at runtime; provide type checking and debugging benefits.

Is This Answer Correct ?    0 Yes 0 No

Question { 1100 }

What is the difference between const and constexpr?


Answer

• const: Value remains constant; evaluated at runtime.
• constexpr: Evaluated at compile time for optimization.

Is This Answer Correct ?    0 Yes 0 No

Question { 1100 }

What is the difference between const and constexpr?


Answer

o const: The value is constant and determined at runtime or compile-time.
o constexpr: The value is constant and must be computed at compile-time.

Is This Answer Correct ?    0 Yes 0 No

Question { 712 }

What are the main characteristics of C++ as a programming language?


Answer

Since C++ is a general-purpose programming language, it may be used to create software for a large range of business applications.
it supports object-oriented, procedural, functional, and generic programming frameworks, making it a multi-paradigm programming language.
Its adaptability, power, and complexity—which makes it one of the more challenging programming languages to learn—are further noteworthy features.

Is This Answer Correct ?    0 Yes 0 No

Question { 871 }

What are the main differences between C and C++?


Answer

In terms of syntax, compilation, and basic memory, C and C++ are very similar. Nonetheless, the two languages differ in a few significant ways:

• While C++ is a multi-paradigm language that supports procedural programming and other programming philosophies, C is a procedural programming language.
• Unlike C++, C does not allow object-oriented programming principles like encapsulation and polymorphism.

• Namespace, reference variable functionality, operator overloading, and function overloading are among the new features that C++ provides.

Is This Answer Correct ?    0 Yes 0 No

Question { 652 }

What are the strengths of C++?


Answer

Portability: C++ applications run on a variety of operating systems.
• Multi-paradigm frameworks: C++ supports object-oriented, generic, and procedural programming frameworks, providing a high degree of programming freedom.
• Scalability: C++ is a robust programming language that can be used to write both low-level, simpler programs and resource-intensive systems.

Is This Answer Correct ?    0 Yes 0 No

Question { 858 }

What is the difference between a class and a structure in C++?


Answer

With the exception of member variables and methods' default accessibility setting, class and structure (or struct) are essentially the same in C++. They are configured as public in a structure and private in a class.

Is This Answer Correct ?    0 Yes 0 No

Question { 657 }

What are the three types of access specifiers in C++?


Answer

1. Public: Every student in the class is reachable from anywhere within the application.
2. Private: Only member functions within the class have access to class members.
3. Protected: Any subclass of the class or the member functions within the class can access class members.

Is This Answer Correct ?    0 Yes 0 No

Question { 798 }

What is the difference between a constructor and a destructor in C++?


Answer

While a destructor is used to remove class objects, a constructor aids in initializing them. Both are invoked automatically: the constructor allocates memory instantly upon creating a new object, and the destructor deals with memory when destroying an existing one.

Is This Answer Correct ?    0 Yes 0 No

Question { 670 }

What is a storage class in C++


Answer

Certain characteristics of variables or functions are defined by storage classes. These characteristics include lifetime, or how long a variable is active, and visibility, or how easily a variable may be accessed from various parts of the program.

Is This Answer Correct ?    0 Yes 0 No

Question { 633 }

What is the function of the keyword ‘volatile’ in C++?


Answer

A qualifier known as the volatile keyword can be used on a variable to let the compiler know that the value of the variable could change at any time. The primary goal of utilizing volatile is to stop source code optimizations on objects.

Is This Answer Correct ?    0 Yes 0 No

Question { 655 }

What are the weaknesses of C++?


Answer

• Its high learning curve: C++ is a difficult programming language for novice developers to learn.
• Security: C++'s use of pointers and global variables presents a comparatively significant security risk.
• Memory management: Allocating memory manually can take a lot of time.

• Pointers: If used improperly, pointers' complexity will cause performance issues.

Is This Answer Correct ?    0 Yes 0 No

Question { 841 }

How is memory managed in C++?


Answer

Because C++ enables dynamic memory, the user must manually manage memory instead of relying on a garbage collector function to do it. The "new" and "delete" operators are used to dynamically allocate and deallocate memory, respectively.

Is This Answer Correct ?    0 Yes 0 No

Prev    1   ... 4   ... 7   ... 10   ... 13   ... 16   ... 19   ... 22   ... 25   ... 28   ... 31    34   [35]    36  ... 40   ... 43    Next