Please check
Error please checkASAP
hi @rssrivastavarohan there are several mistakes with your code.
- It should be
#include<bits/stdc++.h> - The way you have taken input for vector, it will go into an infinite loop. Just intialise the vectors with size 4 and take input for 4 indices like
cin >> v1[i]; -
cout<<isRectangleOverlap;You are not calling the function, correct way iscout<<isRectangleOverlap(v1, v2);