Thursday, 23 July 2015

Difference between pointer to constant and constant to a pointer in C.

1) Constant Pointers : These type of pointers are the one which cannot change address they are pointing to. This means that suppose there is a pointer which points to a variable (or stores the address of that variable). Now if we try to point the pointer to some other variable (or try to make the pointer store address of some other variable), then constant pointers are incapable of this.

A constant pointer is declared as : 'int *const ptr' ( the location of 'const' make the pointer 'ptr' as constant pointer)

2) Pointer to Constant : These type of pointers are the one which cannot change the value they are pointing to. This means they cannot change the value of the variable whose address they are holding.

A pointer to a constant is declared as : 'const int *ptr' (the location of 'const' makes the pointer 'ptr' as a pointer to constant.

Monday, 13 July 2015

Hotspot on any PC using System drivers-

How to make an portable Wi-Fi hotspot on PC-


  1. Download the system driver for the WiFi for your system for that you must visit the official website of System and download the driver for specific model.Ex-for HP System http://www8.hp.com/in/en/drivers.html will be detecting all the necessary details automatically.
  2. Download a software for portable hotspot for example- I have downloaded HP wireless hotspot driver from the same site and installed.
  3. Finally run the hotspot program.

IF PROBLEMS EXISTS TRY-

  • Make sure  that you turned on your  WiFi System.
  • Change Sharing in HotSpot to Automatic if Set to WiFi.
  • One of the most  Rare  issue check on- right click computer>manage>Device Manager>   make sure that Network Adapter is enabled.if it is disabled rightclick and enable it.

What is the Error of insufficient memory Space in android phones?When even you have enough memory..


Step 1)-Try after cleaning the Cached data in Settings>Storsge>Cached data;
or


Step 2) Go in Settings>Apps>All apps and check if total available memory is near about to be full,if so What you have to do is to clear the cache of some particular(Big Size) apps by clicking "app-name" and "Clear cache"  untill the space in all app become sufficient for your new app.