Learn C programming in Bengali

Aligning Output

Submitted by tushar pramanick on Tue, 03/05/2013 - 15:32

Aligning Output
As you might have noticed in the previous section, all output is right-justified. In other words, by default, all output is placed on the right edge of the field, as long as the field width is longer than the width of the output.

 

C প্রোগ্রামিংয়ের getchar() Function এর ব্যবহার

Submitted by tushar pramanick on Tue, 03/05/2013 - 15:05

Using the getchar() Function
The C language provides another function, getchar(), to perform a similar operation to getc(). More precisely, the getchar() function is equivalent to getc(stdin).

 

The syntax for the getchar() function is

 

C প্রোগ্রামিং এর double Data Type সম্পর্কে আলোচনা

Submitted by tushar pramanick on Tue, 03/05/2013 - 14:54

The double Data Type
In the C language, a floating-point number can also be represented by another data type, called the double data type. In other words, you can specify a variable by the double keyword, and assign the variable a floating-point number.