-
-
C Double dimensional arrays
How can double dimensional arrays be dynamically initialized in C ?
Reverse A Linked List
What is the most efficient way to reverse a linklist?
What is the difference between structures and classes in C++?
There is only one difference ,in classes the members are private by default whereas it is not so in structures.
Count Number of characters using Pointers
Write a program to count the number of characters in a string using pointers.
Difference between realloc() and free()?
The free subroutine frees a block of memory previously allocated by the malloc subroutine. Undefined results occur if the Pointer parameter is not a valid pointer. If the Pointer parameter is a null value, no action will occur. The realloc subroutine changes the size of the block of memory pointed to by the Pointer parameter to the number of bytes specified by the Size parameter and returns a new...
What do you mean by inline function?
The idea behind inline functions is to insert the code of a called function at the point where the function is called. If done carefully, this can improve the application's performance in exchange for increased compile time and possibly (but not always) an increase in the size of the generated binary executables.
What is the need /use of function overloading
Hint FO is mechanism in which two functions r having same name with diff no. of arguments.
Inheritance
What is inheritance? why we use it? plzz can anybody explain me with one example and where we use that concept?
Inline Function Advantages
What are the advantages of inline functions over macros?
Placement New Syntax
How can a C++ developer use the placement new syntax to make new allocate an object of class SomeClass at a particular memory address stored in a pointer type variable named pmem?A. new SomeClass(pmem);B. new(pmem) SomeClass;C. new SomeClass pmem;D. new pmem SomeClass;E. new (pmem, SomeClass);
Ans