Posts

Crc

 #include <stdio.h>  #include <string.h>    void xor(char *a, char *b, int len) {      int i;      for (i = 0; i < len; i++) {          b[i] = (b[i] == a[i]) ? '0' : '1';      }  }    int main() {      char a[10], b[100], remainder[100];      int m, n;        printf("\nEnter the polynomial: ");      scanf("%s", a);        printf("\nEnter the frame: ");      scanf("%s", b);        m = strlen(a);      n = strlen(b);        // Ensure the polynomial has no leading zeros      while (a[0] == '0' && m > 1) {          for (int i = 0; i < m - 1; i++) {              a[i] = a[i + 1];          }      ...

How does google determines your location when you search something

Image
  Everytime we search in something on Google how does they exactly know where we are ? When we want to order something like food,medical and etc., how does they really show the searches near us in our local. I think this is something really pretty cool that everyone wants to know. So don't take tension ,I am Here to answer your questions regarding this doubt. When you search on Google, like Google maps, Chrome, Google assistant your location is estimated through a variety of several sources, depending on the accessibility. Together this sources are used to determine you location: • Your location history • Your work address from your labeled places • Home address you set in the Google home app • Your location history • Your previous activity on Google products • Your previous activity on Google sites and apps • IP address of your internet connection . When you search something on Google your location helps to give you better search results.  This gives you a better under...