What is searching? Explain linear and binary search.
No Answer is Posted For this Question
Be the First to Post Answer
Why cstdlib is used in c++?
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?
Is c++ a low level language?
How do you generate a random number in c++?
Can I uninstall microsoft c++ redistributable?
What are the different types of Storage classes?
What is the latest version on c++?
Define the operators that can be used with a pointer.
How can you force instantiation of a template?
Write the program form Armstrong no in c++?
Explain selection sorting. Also write an example.
Explain the use of virtual destructor?