Free Educations

   »    All free stuff in computer education

Computer Education, Training & Tutorial Resources - ComputerEducationWorld.com
Home » Free Educations »

if ( 2 <  4 )
    printf( “two is  less than four, that’s not a surprise” );

this syntax can be used with your program by simply including the header file and few  statements .If you have more than one statements,use braces, like we did with the body of the main function. Anything inside braces is called a compound statement. When using if statements, the code that depends on the if statement is called the “body” of the if statement.So the right syntax will be (more…)


• • •
 

while writing c basic things you should kept in your mind. The syntax below showing right and wrong way to write c. printf() function in c is used to print the output of a program. The quotes tell the compiler that you want to output the literal string .

/*this syntax is about declaring of variable at the right position .int signifies that variable is integer type */

 Wrong Syntax…

(more…)


• • •
 

The standard library provides a wide variety of functions. This section is a brief synopsis of the most useful. More details and many other functions can be found in Appendix B.


• • •
 

We have already mentioned the string functions strlen, strcpy, strcat, and strcmp, found in <string.h>. In the following, s and t are char *’s, and c and n are ints. (more…)


• • •
 



captcha PHP Script Free PHP captcha script free php
Website Design by WebWalas.com