Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Write a program to get the largest element in an array using Function?
# include int largest(int b[],int);main(){ int lar,a[5]={12,2,36,40,5}; lar=largest(a,n); printf("%d",lar);}
int largest(int b[],int num){ int i,max; max=b[0]; for(i=1;i { if(b[i]>max) { max=b[i]; } } return max;}
Destructors A destructor function gets implemented whenever an instance of the class to which it belongs goes out of existence. The primary usage of a destructor function is
Can I explicitly call a destructor if I've allocated my object with new?
(Random Numbers) Write statements that assign random integers to the variable n in the following ranges: a) 1 ≤ n ≤2 b) 1 ≤ n ≤100 c) 0 ≤ n ≤9 d) 1000 ≤ n ≤1112 e)
What is the specialty in sizeof() operator
How does free know the size of memory to be deleted.? int *i = (int *)malloc(12); followed by free(i); how did free function call know how much of memory to delete? A: It bas
Question 1 Write a program that accepts two numbers from the user and swaps the two numbers without using a temporary variable Question 2 Write a program that accepts a 3x
write a pseudo code for computing sin(x) using sentinel control loop
what is the diffeerence between c and c++
Define Pure Virtual Function? Why & when it is used?
z = (a > b) ? a : b;
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd