Unary + is the only dummy operator in C, you can just ignore this operator. i = – -1
Author: vamsipavan
Limit robots action on a specific page
Yahoo ROBOT from http://help.yahoo.com/help/us/ysearch/basics/basics-10.html If you run a web site and do not want your content to be accessible through the cache, you can use the NOARCHIVE meta-tag. Place this in the section of your documents: < META NAME="ROBOTS" CONTENT="NOARCHIVE"Continue reading… Limit robots action on a specific page
Similarity measures, text clustering or text classification
If X and Y represent the document vectors, then their similarity can be measured using different similarity measures, ^
default function prototype
When the compiler sees a new function (ex. show) about which it doesn’t know anything. It by default assumes the function to be returning int. But when compiler sees the actual definition of function (show), if mismatch occurs (might beContinue reading… default function prototype
scope of variables
labels (ex. goto ) have functions as scope. Labels which are outside the functions are not visible to this statement and cause compilation error.
printf formats in C and scanf
%p
ascii codes
‘n’
Precedence in C
!, > , < ... the expression i+++j is treated as (i++ + j) i++ + ++i
Representation of negative numbers
main(){ printf(“%x”,-1
extern, static variables, enum, register
Static variable When static storage class is given, it is initialized once. The change in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function, which can beContinue reading… extern, static variables, enum, register