Sunday 5 April 2009

Question of c preprocessor with detailed solution

C programming preprocessor
questions and explanations



(1) What will be output of following code?






#include

#define max 10




int main(){




    int i;




    i=++max;




    printf("%d",i);




    return 0;

}






(2) What will be output of
following code?






#include

#define max 10+2




int main(){




    int i;




    i=max*max;




    printf("%d",i);

Saturday 4 April 2009

c data type tutorial

                   Best tutorials of data type in Programming language
(1)  Good tutorial of data type in c(2)  Data type(3)  Data type part 1       Data type part 2

java tutorial

(1)     Good java tutorial by examples(2)    Java tutorial(3)    Complete Java tutorial

c structure tutorial





          

Best tutorials of Structure in C Programming Language(1)   Structure Tutorial with examples(2)   Structures in C(3)   Structure