#include
using namespace std;
int main() {
char b[100];
cin.getline(b,100,".");
cout<< b;
}
#include
using namespace std;
int main() {
char b[100];
cin.getline(b,100,".");
cout<< b;
}
@priyamomer3 hey Priyam,
Syntax of cin.getline : cin.getline(charArrayName , ArrayMaxSize , delimiter)
Delimiter is type of char so it will be denoted as in single quote.
At Same time
@priyamomer3 I hope We’ve cleared your doubt. Please mark this doubt as resolved and rate us on the basis of your experience. Rating option is just below where you mark this doubt as resolve. Your feedback is very important. It helps us to improve our platform and hence provide you the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen the doubt.
Where is resolve option?