EmbLogic's Blog

Author Archives: chaitnya

Order of Precedence

Operators of the same priority are evaluated from left to right, so that Operators of the same priority are evaluated from left to right, so that a – b – c is evaluated as ( a – b ) – … Continue reading →

Posted in Uncategorized | 3 Comments

The Table Of Number Two

#include main() { int num=2,i; printf(” The Table Of Number Two “); for(i=1;i<=10;i++) { printf("\n %d * %d = %d",num,i,num*i); } }

Posted in Uncategorized | Tagged | Leave a comment

Assienment1, 1 #include

Assienment1. 1 #include:- In ‘C’ programming language all library functions are included in different header files in different categories with “.h” extension. # is called as “preprocessor”. Means it will include the header file before comipling the code. “include” gives … Continue reading →

Posted in Uncategorized | Leave a comment

2.comment:-

2.comment:- A “comment” is a sequence of characters beginning with a forward slash/asterisk combination (/*) that is treated as a single white-space character by the compiler and is otherwise ignored. A comment can include any combination of characters from the … Continue reading →

Posted in Uncategorized | Leave a comment

Structure of a Function

Structure of a Function A general form of a C function looks like this: FunctionName (Argument1, Argument2, Argument3……) { Statement1; Statement2; Statement3; } An example of function. int sum (int x, int y) { int result; result = x + … Continue reading →

Posted in Uncategorized | Leave a comment