Saturday, 14 June 2014

DOUBLE POINTER TO REVERSE ARRAY

# include <stdio.h>
# include <conio.h>
display(int *a);
show(int **b);
int main()
{
 clrscr();
 int arr[]={1,2,3};
 for(int i=2;i>=0;i--)
 {
  display(&arr[i]);
 }
 return 00;
}
 display(int *p)
 {
  show(&p);
 }
 show(int **pointer)
 {
  printf("\n %d",**pointer);
 }

 

Friday, 24 January 2014

scrolling Tag in html

<html>
<head>
<title> Dragon Scroll </title>
<body bgcolor="pink">
<h1>
<marquee dir="right" > <font color="red" > Dragon warrior will have the dragon Scroll...... !! </font> </marquee>
</h1>
</body>
</html>


Smart Table

<html>
<head>
<title> Table </title>
</head>
<body>
<table border="2">
<tr>
  <th rowspan="2"> S.No </th>
  <th colspan="2"> Name </th>
</tr>
<tr>
  <th> First Name </th>
  <th> Last Name </th>
</tr>
<tr>
 <td> 1 </td>
 <td> TOM </td>
 <td> FARCRY </td>
</tr>
</table>
 </body>
 </html>



Red color link in html

<html>
<head>
<title> Link </title>
</head>
<body bgcolor="blue">
<h1> Exciting
<a href="http://www.wallcg.com" > <Font color="red" size="48"> Wall papers <Font> </a>
</h1>
</body>
</html>



Paragraph tag

<html>
<head>
<title> Sample Paragraph </title>
</head>
<body>
<h1> Internet Protocols </h1>
<p> Protocols are just like guide lines for packet. The Internet Protocol (IP) is the principal communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, and essentially establishes the Internet.
</p>
</body>
</html>


Proper Alingment

<html>
<head>
<title> Proper align </title>
</head>
<body>
<h1> STUDENT DETAIL </h1>
<h5> Name : Tom Farcry </h5>
<h5> Roll NO : 12xyz12 </h5>
<h5> Age : 20 </h5>
<h5> PhoneNo : 1234567890 </h5>
<h5> Address : DownTown street </h5>
</body>
</html>

Nested list ......... ??

<html>
<head>
<title> Nested List </title>
</head>
<body>
<h4>
<ul type="fill round">
 <li> First Year </li>
 <ul type="round">
  <li> Semester I </li>
  <li> Semester II </li>
 </ul>
 <li> Second Year </li>
  <ul type="round">
  <li> Semester III </li>
  <li> Semester IV </li>
  </ul>
 <li> Third Year </li>
  <ul type="round">
   <li> Semester V </li>
   <li> Semester VI </li>
  </ul>
  <li> Fourth year </li>
   <ul type="round">
    <li> Semester VII  </li>
<li> Semester VIII </li>
</ul>
  </ul>
</h4>
 <body>
 </html>