diff --git a/index.html b/index.html index fbe6a9b..55992d2 100644 --- a/index.html +++ b/index.html @@ -51,7 +51,13 @@
Tan - + +
+
I am a pH-developers
+
Archit Gupta MEC
+

My profile is: github.com/Archit286

+
+
diff --git a/problems_c_c++/ques_1.cpp b/problems_c_c++/ques_1.cpp index 1d6cd67..79db7f0 100644 --- a/problems_c_c++/ques_1.cpp +++ b/problems_c_c++/ques_1.cpp @@ -4,8 +4,8 @@ #include using namespace std; char* get_company_name(){ - char *initial = "Print"; - char *rest_name = "hello"; + char initial[20] = "Print"; + char rest_name[10] = "hello"; return strcat(initial,rest_name); } int main() { diff --git a/problems_c_c++/ques_3.cpp b/problems_c_c++/ques_3.cpp index 1f2346c..3f1959e 100644 --- a/problems_c_c++/ques_3.cpp +++ b/problems_c_c++/ques_3.cpp @@ -4,7 +4,7 @@ int main(){ do{ printf("-----------------------PrintHello-------------------------------\n"); int k = n*n/n-n+n/n; - while(k++){ + while(k--){ printf("\nKickstart your programming skills with C/C++\n\n"); for(int i=k;i