TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Banu H.
Trainee in CompIndia Infotech Pvt. Ltd.
Tutor Satisfaction Guarantee
iOS Programming
TutorMe
Question:

var optionalName : String? = “John" if optionalName != nil { print(“Your name is \(optionalName!)”) }

Banu H.
Answer:

John

C++ Programming
TutorMe
Question:

#include <string> #include <iostream> using namespace std; void string_permutation( string& orig, string& perm ) { if (orig.empty()) { cout<<perm<<endl; return; } for (int i = 0; i < orig.size(); ++i) { string orig2 = orig; orig2.erase(i, 1); string perm2 = perm; perm2 += orig.at(i); string_permutation(orig2, perm2); } } int main() { string orig = "ter"; string perm; string_permutation(orig, perm); return 0; }

Banu H.
Answer:

In the program, We used string permutation to find out all the combination. Output: $ g++ perm.cpp $ a.out ter tre etr ert rte ret

C Programming
TutorMe
Question:

#include <stdio.h> int main() { printf("%d ", 1); goto l1; printf("%d ", 2); l1:goto l2; printf("%d ", 3); l2:printf("%d ", 4); }

Banu H.
Answer:

1 4

Send a message explaining your
needs and Banu will reply soon.
Contact Banu
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.