while declaring a vector array
like vector x(int n, INT_MAX);
what dose these 2 things mean and what is this type of declaration and how to use it
A silly doubt regarding vectors
hello @adarshsingh2k i dont think this is the correct syntax which you are asking about .
could you please share the code or screenshot where you are facing this .
but i got you in vector we can make the vector of size n and declare all the elements or values in it by certain value like in the above which you have mentioned we have declared with INT_MAX;
but the syntax is not correct .
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us 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.