RKRahul Kumarinstartdev.hashnode.dev·Aug 4, 2023 · 1 min readWhat is the meaning of '&' in c++Reference Operator: When used as a reference operator, the & symbol is used to create a reference to a variable. A reference is an alias or an alternate name for an existing variable. It allows you to access and modify the original variable using the...00
RKRahul Kumarinstartdev.hashnode.dev·Jun 18, 2023 · 1 min readWrite a function that returns a promise and resolves after a specified delay. Use it to simulate asynchronous operations.The delay the function takes an argument ms representing the delay time in milliseconds. It creates a new Promise and uses setTimeout to delay the resolution of the promise by the specified duration. After the delay, the promise is resolved. You can ...00