Monday, 8 June 2015

c characters set

C Characters set



A character denotes any alphabet, digits or Special symbol used to represent information.Here We see the valid alphabets, numbers and special symbols allowed in c.


Alphabets :   A,B..........,Y,Z       a,b........., y,z

Digits :         0,1,2,3,4,5,6,7,8,9

alltechprogramsSpecial Symbols :  "  ~ ! @ ' # % & * ( ) _ + - + | \ { }  [ ] : ; ` < > , . ? / ^

different types of c constants

Types Of C Constants 

alltechprograms
C Constants can be divided into two major Categories.

  • Primary Constants

  • Secondary Constants

Primary Constants : Integer Constant , Real Constant , Character Constant.

Secondary Constants: Array, Pointer,Structure,Union,Enum,etc..


Rules for constructing integer constants 


  1. An integer constant must have at least one digit.
  2. it must not have a decimal point.
  3. it can be either positive or negative.
  4. if no sign precedes an integer constant is assumed to be positive.
  5. no commas or or blanks are allowed with in an integer constant.
  6. the allowable range for integer constants is -32768 to 32767

Rules For Constructing Real Constants

Real Constants are often called Floating point constants.The real Constants Could be Written in two forms

  1. Fractional form 
  2. Exponential form

Rules :

Constants Expressed in fractional form

  1. A real Constant Must have at least one digit.
  2. it must have a decimal point.
  3. it could be either positive or negative.
  4. default sign is positive.
  5. no commas or blanks are allowed within a real constant.

Constants Expressed in Exponential form

  1. The mantissa part and the exponential part should be Separated by a letter 'e'.
  2. The mantissa part may have a positive or negative sign.
  3. Default sign of mantissa part is positive.
  4. The exponent must have at least one digit, which must be a positive or negative integer.default sign is positive.
  5. Range of real constants expressed in exponential form is -3.4e38 to 3.4e38.

Rules For Constructing Character Constants 

  1. A Character constant is a single alphabet, a single digit or a single special symbol enclosed within single inverted commas.Both the inverted commas should point to the left.
  2. For Example, 'A' is a valid character constant whereas 'A' is not.
  3. The Maximum length of a character constant can be 1 character.


what is c

alltechprogramsWhat is C

History Of C

C is a programming language developed at " AT & T's " Bell Laboratories of USA in 1972. C programming language is designed by man named Dennis Ritchie. In the late seventies C began to replace the more familiar languages of  that time like Algol, PL/I. No One share information about c programming language.

Why c language Mostly Used Programmers

C is most popular language . Because  reliable , simple and Easy to Use. In industry Where newer languages, tools and technology emerge and Vanish day in & day out. That has survived for more than 3 decades has to be really good.

An Option that is often heard today is : "c has been already superceded by Languages like C++,C#,Java. Why bother to Learn c Today". 

There are several reasons Bellow 


  • I believe that nobody can learn C++ or Java Directly.Because  While learning These languages you have thing like classes,objects,inheritance, polymorphism,templates, more then. Hence one should first learn all the language elements very Thoroughly Using C language Before migrating to C++,C# or Java.

  • C++,C# or Java make use of a principle called Object Oriented Programming ( oop ) To Organize the program.This Organizing principle has lot of Advantages to offer. But, Even while using this organizing principle you will still need a good hold over the language elements of c and basic programming Languages Skills.  

  • At Times one is required to very closely interact with the hardware devices. Since C provides Several language elements that make this interaction feasible Without Compromising the performance. it's the preferred choice of the programmer.


Sunday, 7 June 2015

online html editor code

Online Html Editor Code  ( Try It )


alltechprogramsWhat is Html Editor : The html editor used for Online Webpage Designing. The Html Editor Using Way in Like Html,Php,Css,JavaScript,Xml More online WebPage Editor Useful.




Html Editor Code Free Open Source. Below Html Editor Code Copy And Paste Notepad Save in Php Format (.php). 

100% Working Html Editor Code :


<html>
   <head>
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
      <style> textarea { width:300px; height:480px; } </style>
   </head>
   <body> 
<form action="tryit.php" id="tryitform" method="post">
         <table>
<tr><td style="background: #66FFCC; padding: 15px;">HTML<textarea name="html">Please Copy Your Html Code</textarea>
             <td style="background: #66FFCC; padding: 15px;">CSS<textarea name="css">{
 }
</textarea></td></td></tr>
</table>
<br />
       <input type="submit" value="Get Solution" />
      </form>
<div id="htmlcontent">
</div>
</body>
</html>

<script> 

$(document).ready(function(){ 
   $('#tryitform').submit(function(e){
      e.preventDefault(); 
      $('#htmlcontent').html( $(':input[name=html]').val() );
      $('head').append( '<style>' + $(':input[name=css]').val() + '</style>' ); 
   }); 
}); 


</script>

Save  And Enjoy !! Friends . Any Problems in Html editor Comment. Thank You !!

Tuesday, 2 June 2015

html hyperlink code example

Html Hyperlink Code Example  


What is Html Hyperlink :-  The  Html Hyperlink code is Used For Web Design Process We Data One Page To Another Page Linking in  Html Page  Known As " Hyperlink code ". We Known About text Hyperlink code First Bellow


 <a href="  "> ----- </a> The Syntax Used For Html  Text Hyperlink code example.


Example
hyperlink code for Web Pages.

<a href="www.alltechprogram.com" > Test Html Hyperlink code example </a>

Process

When click the html Test Hyperlink code Example  Goto The Another Page Will Be Display.
For Small Example Click The Text Button  Click test Me

How To Work ?

Hyperlink code used to mostly frames in html. because, another data will insert to the one webpage. for example will create a one html page (a.html) .will inserting to the (home.html). Here, using html hyperlink code .we see above syntax.

alltechprograms

Note

The Hyperlink Code Will Be Insert Into Possible  Text , Frames , Iframes , Text Area. 


html table code examples

Html Table Beginners Code Examples 

What is Html Table :- The Html Table Create For Html Web Page Developed Time. For Example,We Have  Large Contact Information Your Website . Then Neatly To Design To Understand For Peoples Using Html Table From. 

Uses:

Now a Days Using To Save The Information In Documentation Using Html Table From.Html Table Representation Using More Effective Presentation.To Better Understand Way.


  • Need To Learn Design For Html Table From 

                      <table>         Starting Tag Html Table 
                </table>        Ending Tag  Html Table 
                <tr>-</tr>      Html Table Row
                <td>-</td>     Html Table Data


Examples  For Html Table  Beginners code  Below :

<body>
<h5>Create Code Username Password In Html Table</h5>
<table>
<tr><td></td>
<td>Username: <input type="text"></td>
<td>Password: <input type="password"</td>
</tr>
</table>
</body>
alltechprograms


Click it  code                  

variable value stored in c program

Variable value stored in c program



alltechprogramsSource Program



#include <stdio.h>

int main()

{

 int sum, Sum ;

 sum = 10 ;
 Sum = 20;

 printf(" The value stored in two different identifiers  are : ");

 printf(" \n sum is : %d \n Sum is : %d \n", sum, Sum);

 getchar();

 return(0);

}



OutPut


The value stored in two different identifiers  are :

sum : 10
sum : 20