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!
Program to find a Greatest String: C - Program:
Write a program find largest string by c program.
int main( int argc, char *argv[] )
{
if( argc < 2 )
cerr << "Usage: strngmax string1 [string2 ...]\n";
return 1;
}
String theGreatestString( argv[1] );
int positionOfTheGreatestString = 1;
int nextArg = 2;
while( nextArg < argc )
String argListString ( argv[nextArg++] );
if ( argListString > theGreatestString )
theGreatestString = argListString;
positionOfTheGreatestString = nextArg - 1;
cout << theGreatestString << endl;
return positionOfTheGreatestString;
Where are longjmp and setjmp used in C++? -Setjmp and longjmp must not be used in C++. - Longjmp jumps out of the function without unwinding stack. This means that local obj
# include stdio.h> # include conio.h> # include string.h> void main() { int i=0,j=0; char a[100],temp; clrscr();
write a function that take as parameters an array of integer and its size and return the sum of its value
input marks of c and c++ if c grater than equal to 50 grater than 50 you are pass if c greater than equal to 50 c++ less than 50 than supplementry c++ if c less then 50 and c++ gra
What does it mean to declare a 1. member function as a virtual A: (a) C++ virtual function is member function of any class, whose functionality may be over- ridden in
What is the difference among malloc/free and new/delete? A: Malloc/free do not know about destructors and constructors. New & delete create and destroy objects, whereas malloc &
Produce a pseudo code to be used for development compute and display some data on the bounces a ball will make when dropped from a given height. To simplify the problem, you ass
Is Overloading of Destructor possible?
Are comments included during compilation stage and placed in EXE file as well? - No, comments encountered by compiler are disregarded. - Their only purpose is ease and guida
1 PETTERN1 (Pettern1.c) main() { int i,j,k=1,a; clrscr(); for(i=1;i { if(i>=3)
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