Monday, 19 January 2015
Thursday, 15 January 2015
Wednesday, 14 January 2015
How create a Form in HTML
<html>
<head>
<title>This is the Form Example</title>
</head>
<body>
<form method= post action=process.html>
Enter the Student Name:
<input type ="text" size=20 name="sname"/> <br/>
Enter the Student Address:
<textarea name="saddress" cols="10" rows="15"></textarea><br/>
Enter the Password:
<input type ="password" size=20 name="spass"> <br/>
Enter the Student Hobbies: cricket
<input type ="checkbox" name="shobbies" checked="checked">
badminton
<input type ="checkbox" name="shobbies" checked="checked"><br/>
Select Student Gender:
Male <input type="radio" value="male" checked="checked" />
Female<input type="radio" value="female" checked="unchecked" />
</from>
</body>
</html>
<head>
<title>This is the Form Example</title>
</head>
<body>
<form method= post action=process.html>
Enter the Student Name:
<input type ="text" size=20 name="sname"/> <br/>
Enter the Student Address:
<textarea name="saddress" cols="10" rows="15"></textarea><br/>
Enter the Password:
<input type ="password" size=20 name="spass"> <br/>
Enter the Student Hobbies: cricket
<input type ="checkbox" name="shobbies" checked="checked">
badminton
<input type ="checkbox" name="shobbies" checked="checked"><br/>
Select Student Gender:
Male <input type="radio" value="male" checked="checked" />
Female<input type="radio" value="female" checked="unchecked" />
</from>
</body>
</html>
Thursday, 18 December 2014
call by value and call by reference
Call by Value In
c language by default the arguments are passed to the function by
value. It means the actual arguments
copy their value into the formal arguments
. In call by value we can pass the value
.if any change is done into the
formal arguments it doesn't affect the actual arguments because both the arguments use the different memory
location .
Program
#include<stdio.h>
#include <conio.h>
void show ( int
a);
void main ()
{
Int x;
clrscr() ;
printf ( “enter the value
“);
scanf(“%d”,& x);
show (x);
printf( “\n now value of x
=%d” , x);
getch();
}
Void show ( int a )
{
a= a+1;
printf( “\n the value of a
=%d”, a);
}
Monday, 15 December 2014
write a first programe in php
Create a PHP Program and run in WAMP
1.open the dream weaver..and select the PHP.
2 Write the program in php such as :---
<?php
echo "helloooo world this is my first program in php ";
echo "you can write it";
?>
3.Save the program such as hello.php in c:\Wamp\www\
4 Run the program it:
5. Select the Localhost and open the file
Saturday, 13 December 2014
Write a First Programe in C
#include<stdio.h>int main() { printf(“Hello World\n”); return 0; }Save the program with .c Extension ..such as abc.c













