C Programming and Computer Geeks

Search MY Blog

Saturday, 30 November 2013

Windows Useful Shortcuts


Win
Press windows key to open start menu
Win+R
Opens Run dialog box
Win+M
Minimize all opened windows
Win+S
maximize all opened windows
Win+L
locks keyboard in windows XP
Win+E
opens My Computer
Win+F
opens search options
Win+U
opens Utility Manager
Win+D
view desktop/minimize all windows
Win+F1
view the detail windows help page
Win+P
Pause view the System Properties dialog box
Win+Tab
Move through open windows
Win+F+Ctrl
open search Window
Alt+Tab
Move through opened windows programs
Alt+F4
close active window
Alt+Enter
open properties of selected item
Alt+SPACEBAR
Open the system menu of active window
Alt+SPACEBAR+N
minimize the active program
Alt+SPACEBAR+R
keys to restore the active program
Alt+SPACEBAR+C
keys to close the active program
Alt+SPACEBAR+X
keys to maximize the active program
Alt+SPACEBAR+M
keys to move the active program
Ctrl+Alt+Delete
options to shutdown or open task manager
Ctrl+Shift+Esc
open windows task manager
Ctrl+Esc
keys to open start menu
Shift+Delete
delete items permanently
Ctrl+A
Selects all items in Folder
Ctrl+C
Copy function
Ctrl+v
Paste functionality
Ctrl+home
Move to the top of the page
Ctrl+End
Move to the bottom of the page




Click here for more Tips & Tricks .


Friday, 29 November 2013

Faq On Array Addition and subtraction



what could be the output of the following program.

int main()
{
char *p = a;
printf("%s", p + p[5] - p[13]);
getch();
return 0;
}

Ans: It will display the below output
.neentech.blogspot.com

Array addition and subtraction

Explanation:  From the Statement p + p[5] – p[13], p points to address of array a . And p[5] contains/holds character ‘e’ and p[13] holds character ‘b’. So the final statement will be p + ’e’ – ‘b’ ==> p + 101 – 98 (here 'e' equals to decimal 101 & 'b' equals to Decimal 98) ==> p+3 ==> will give the address location of a[3]. So it will start printing the string from a[3].

Click here for more C Faq

Search This Blog