Select the correct option to test your answer:
More Computer Questions
What will be the output of the following C code? #define sqr(x) x*x main() { int a1; a1=25/sqr(5); printf("%d",a1); }
Presence of loop in a linked list can be tested by . . . . . . . .
Which of the following argument denotes if the file has a header line?
How do you insert an element at the beginning of the list?
What will be the output of the following C++ code? #include <iostream> #include <map> using namespace std; int main () { multimap<char, int> mymultimap; mymultimap.insert(make_pair('y', 202)); mymultimap.insert(make_pair('y', 252)); pair<char, int> highest = *mymultimap.rbegin(); multimap<char, int> :: iterator it = mymultimap.begin(); do { cout << (*it).first << " => " << (*it).second << '\n'; } while ( mymultimap.value_comp()(*it++, highest) ); return 0; }