C For Beginners

   »    Learn C syntaxes

Computer Education, Training & Tutorial Resources - ComputerEducationWorld.com
Home » Free Educations » Free Programming Training » C Programming » C For Beginners »

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…)


• • •
 



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