+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 14

Thread: Keywords less used

  1. #1
    Programming Expert Chinmoy has a spectacular aura about Chinmoy has a spectacular aura about Chinmoy's Avatar
    Join Date
    Feb 2008
    Location
    where heaven meets earth
    Posts
    404

    Keywords less used

    In c, there are some keywords the usage of which is not very clearly defined (in textbooks). But they are an important part of the language. Here are some I could find ::

    Volatile::


    The keyword volatile is used to specify that the value of a variable can be changed explicitly by a program even in the same expression where no external or explicit change is made in the value of the variable by the program. This, explicit specification of volatility is important because c automatically assumes a variable on the right side of an expression to have a constant value, and refers to that value if future for the same statement.
    Thus
    d=a+b+c+a*a+d;

    will have same values of ‘a’ throughout by default. This is an implicit optimization of all modern compilers. This can also overcome problems of changing compilers, which differ in evaluation rules for expressions.
    This is very helpful for ports, which have values that can be changed by external conditions only.

    Static ::


    1. Static local variables ::
    Code:
    #include<stdio.h>
     
    int ret()
    {
    static int aa;
    return aa++;
    }
    main()
    {
    int a;
    for(i=0;i<10;i++)
    {
    printf("%d ",ret());
    }
    getch();
    }
    In this code, the initial value of ‘aa’ is retained each call. Thus we get the numbers from 0 to 9 as output, even though the declaration of ‘aa’ takes place along with the function.


    Know further here :: Keywords less used | TECHARRAZ
    God is real... unless declared an integer

  2. #2
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: Keywords less used

    Excellent Read! +rep given.

  3. #3
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Keywords less used

    Your blog is really coming along, Chinmoy!

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  4. #4
    Programming Expert Chinmoy has a spectacular aura about Chinmoy has a spectacular aura about Chinmoy's Avatar
    Join Date
    Feb 2008
    Location
    where heaven meets earth
    Posts
    404

    Re: Keywords less used

    Thanks Xav. My alexa rank is 2,383,611 for a 1 week average, and 11,771,264 for 3 months average, although my blog is up only around 10 days!

    techarraz.com - Traffic Details from Alexa
    God is real... unless declared an integer

  5. #5
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Keywords less used

    That's pretty good - I'm at 6,239,619, but then again I haven't SEOd or anything.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  6. #6
    Programming Expert Chinmoy has a spectacular aura about Chinmoy has a spectacular aura about Chinmoy's Avatar
    Join Date
    Feb 2008
    Location
    where heaven meets earth
    Posts
    404

    Re: Keywords less used

    That means you need only some slight amt. of management to get somewhere good!
    God is real... unless declared an integer

  7. #7
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Keywords less used

    Serious? But my site is the most useless personal site in existence! That can't be right!

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  8. #8
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: Keywords less used

    What did you build your website for? Just to learn and write about yourself for family members? My first website was similar. I had a single HTML page just talking about Linux and myself. I was using Slackware 3.x at the time and I don't believe PHP had been invented (at least I hadn't heard of it).

  9. #9
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Keywords less used

    My website's just somewhere to host files, stuff like that. No biggie.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  10. #10
    Programming Expert Chinmoy has a spectacular aura about Chinmoy has a spectacular aura about Chinmoy's Avatar
    Join Date
    Feb 2008
    Location
    where heaven meets earth
    Posts
    404

    Re: Keywords less used

    Cmon Xav, with your knowledge of c#, you can do that anytime! I think you should start a coding site seriously! Or a blog maybe!
    And good news is, My alexa rank for weekly average has moved into 1,469,171! Waiting to see the 3 months average! Will have to wait three months for that..
    And i guess my thread is not the best place to discuss this. Can we start a new thread to discuss our websites?
    God is real... unless declared an integer

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. SEO Querry
    By Chaky in forum Search Engine Optimization
    Replies: 11
    Last Post: 09-09-2008, 01:07 AM
  2. Replies: 8
    Last Post: 06-05-2008, 01:02 PM
  3. 14 Ways to SEO Wordpress
    By xtraze in forum Search Engine Optimization
    Replies: 4
    Last Post: 04-23-2007, 05:03 PM
  4. please help me how to change keywords in c..
    By bryan in forum C and C++
    Replies: 1
    Last Post: 01-29-2007, 11:25 AM
  5. Keyword Optimization - How To Achieve It
    By ravs2k6 in forum Marketing
    Replies: 11
    Last Post: 07-27-2006, 06:15 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts