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

Discussion
9 Followers

Your Facebook Friends on WizIQ