IPC between Process (IPC)

#include<iostream>
#include <bits/stdc++.h>   
using namespace std;   
int main() {
  string a;
  cin>>a;
  char cr[10];
  strcpy(cr, a.c_str()); 
  int i=(int)cr[0];
  char c=cr[1];
   for(int j=0;j<i-48;j++)
  {
    cout<<c;
  }

	return 0;
}
// CODE BY LAKSHAY SINGHWAL

Leave a comment

Design a site like this with WordPress.com
Get started