Friday, November 29, 2013

Why C treats array parameters as pointers?

In C we can see that array parameters are generally treated as pointers. See the following definitions of two functions:

void function1(int arr[])
{
  /* Silly but valid. Just changes the local pointer */
  arr = NULL;
}
void function2(int *arr)
{
  /* ditto */
  arr = NULL;
}
Array parameters are treated as pointers because of efficiency. Mostly when we pass array to the function then we mostly want to deal with same array. So no need to copy whole array to the function, just reference is sufficient. It is inefficient to copy same array as memory and time perspective .
C language

Wednesday, November 27, 2013

Voice Search On Google

 

 

Search by speaking.

- You can now say things like "pictures of …" or "where is …?"
- Fixed browser button in latest versions of Chrome.

Voice Search provides a method to search by speaking. For example,
just click on the microphone and say "kittens" to search for kittens. 
If you specifically want pictures of kittens, say "google images 
kittens". 
Want to learn more about World War II? Say "wikipedia world war two".

Voice Search comes pre-loaded with the following default services: 
Google, Wikipedia, YouTube, Bing, Yahoo, DuckDuckGo and Wolfram|Alpha. 

You can also add your own user-defined search engines. 
It also integrates speech input buttons for text fields on all websites.

This extension requires a microphone, and it needs access to all 
websites,
 so it can add speech input buttons to every text field.
 
 

How to Get it on your PC

>Download Google's Chrome browser.
>you need, because it turns out Voice Search is built right in. 
>Just head to Google.com, 
>then click the little microphone on the right side of 
>the search field. (Needless to say, this will work only if your PC has
 a microphone. 
Most laptops do; most desktops don't, unless you have a 
Webcam.)


The feature is also available in Google Maps,
 though it doesn't extend to other Google properties like Calendar, 
Gmail, and YouTube.
 

Sunday, November 17, 2013

HOW TO LOG OUT YOUR FACEBOOK ACCOUNT FROM OTHER COMPUTERS?

Facebook

We use to go cyber cafe or any other place and open facebook or from friend's mobile  and  sometimes we forgot to log out but now  don't need to be worry about it,there is a option to log out your account from every computer.....

follow the steps...

1. log in your account (from anywhere)
2. go to account setting
3. click on account security
4. and see there details...its shows
Last Accessed:
Location:
Device Type:
"see the image"
(if only these 3 things are shown there, then you are safe)
but

if there is an option to "end activity"that means your account is opened somewhere else also...
click "end activity" and you`ll be logged out from other computer

Sunday, November 10, 2013

Different Technologies & Their Founders

If any mistake, inform me ...plz...


1. Google: Larry Page & Sergey Brin
2. Facebook: Mark Zuckerberg
3. Yahoo: David Filo & Jerry Yang
4. Twitter: Jack Dorsey & Dick Costolo
5. Internet: Tim Berners Lee
6. Linkdin: Reid Hoffman, Allen Blue & Koonstantin
Guericke
7. Email: Shiva Ayyadurai
8. Gtalk: Richard Wah kan
9. Whats up: Laurel Kirtz
10. Hotmail: Sabeer Bhatia
11. Orkut: Buyukkokten
12. Wikipedia: Jimmy Wales
13. You tube: Steve Chen, Chad Hurley & Jawed Karim
14. Rediffmail: Ajit Balakrishnan
15. Nimbuzz: Martin Smink & EvertJaap Lugt
16. Myspace: Chris Dewolfe & TomAnderson
17. Ibibo: Ashish Kashyap
18. OLX: Alec Oxenford & Fabrice Grinda
19. Skype: Niklas Zennstrom,JanusFriis & Reid Hoffman
20. Opera: Jon Stephenson von Tetzchner & Geir lvarsoy
21. Mozilla Firefox: Dave Hyatt & Blake Ross
22. Blogger: Evan Willams

Thursday, November 7, 2013

DIFFERENCE BETWEEN CORE I3, CORE I5, CORE I7...??


-> Core i3:

* Entry level processor.
* 2-4 Cores
* 4 Threads
* Hyper-Threading ­ (efficient use of processor resources)
* 3-4 MB Cache
* 32 nm Silicon (less heat and energy)



-> Core i5:


* Mid range processor.
* 2-4 Cores
* 4 Threads
* Turbo Mode (turn off core if not used)
* Hyper-Threading ­ (efficient use of processor resources)
* 3-8 MB Cache
* 32-45 nm Silicon (less heat and energy)


-> Core i7:


* High end processor.
* 4 Cores
* 8 Threads
* Turbo Mode (turn off core if not used)
* Hyper-Threading ­ (efficient use of processor resources)
* 4-8 MB Cache
* 32-45 nm Silicon (less heat and energy)

Tuesday, November 5, 2013

C program to print a semicolon without using a semicolon anywhere in the code.

Generally when use printf("") statement we have to use semicolon at the end.
If we want to print a semicolon, we use the statement: printf(";" );
In above statement, we are using two semicolons . The task of printing a semicolon without using semicolon anywhere in the code can be accomplish ed by using the ascii value of';'which is equal to 59.
Program: Program to print a semicolon without using semicolon in the code.



#include
int main(void) {
//prints the character with ascii value 59, i.e., semicolon
if (printf("% c\n", 59)){
//prints semicolon
}
return 0;
}