c++ online Test

who developed c++ and when?


c++ is a language based on


#include <iostream>

#include <cstring>

using namespace std;

int main() {

char n[10];

char x[20];

x[0] = '\0';

strcat(n,"\0");

strcat(n,"0123456");

strcat(n,x);

strcat(n,x);

cout << strlen(n);

}

what will be output


#include <iostream>

#include <cstring>

using namespace std;

int main() {

char n[11];

char x[20];

x[0] = '\0';

strcat(n,"\0");

strcat(n,"012345698");

strcat(n,x);

strcat(n,x);

cout << strlen(n);

}


#include <iostream>

#include <cstring>

using namespace std;

int main() {

char n[11];

char x[20];

x[0] = '\0';

strcat(n,"\0");

strcat(n,"0123456980998878");

strcat(n,x);

strcat(n,x);

cout << strlen(n);

}














































Description:

C++ language test

Comments

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect