Posts

Showing posts from 2011

Dangling pointer

Image
A pointer pointing to an object that has been destroyed is called a Dangling pointer. main( ) { int *p ; int *fun( ) ; p = fun( ) ; printf ( "%d", *p ) ; } int *fun( ) { int a = 10 ; return ( &a ) ; } Here it appears that address of a would be collected in p and through *p we would be able to access 10. This however is not possible because by the time address of a is collected in p, a is already dead. So you have a pointer containing an address, and the object at this address is long dead. Thus p becomes dangling pointer.

how to change ur windows desktop by upside down.

Image
In windows XP, Right click the desktop, A Pop up menu will be opened. Select the graphics options. - >Graphics properties- >tab- >Enable the rotation. --> Rotation Views select the rotation degree as 180 Degree and click Apply. Ur Window Desktop will be like this To change this view to normal Right click the desktop, A Pop up menu will be opened. Select the graphics options. - >Graphics properties- >tab- >Enable the rotation. --> Rotation Views select the rotation degree as Normal and click Apply. It will become normal

how to find java versions in your computer

Image
In the command prompt type the following >java -version you will get the version.

How to create a XML DTD for displaying student details

Image
XML  is    e X tensible M arkup L anguage which is used to create used defined tags.  It has Elements  ( <STUDENT>) Attributes (<STUDENT id="21it21">) To create a XML file, create three files 1 ->  XML file (used to declare the user defined tags) 2 ->  DTD file (used to define the user defined tags) 3 ->  HTML file(used to display the xml file as web page) create these three files using any editor like notepad.  Student.Xml <?xml version="1.0"?> <!DOCTYPE STUDENTS SYSTEM "E:\XML1\STUDENT.dtd"> <STUDENTS>  <STUDENT>  <STUDENTDATA>     <NAME> SUTHA </NAME>     <ID>  2007IT51 </ID>     <AGE> 20 </AGE>     <ADDRESS> 12, SATHY ROAD , GOBI </ADDRESS>   </STUDENTDATA> </STUDENT> </STUDENTS> Student.dtd <?xml version="1.0"?> <!ELEMENT STU...

some different internet terms with meaning

Image
annie      A Website or particular Web page that has not been updated  in a long time. anon server     A  service provider that forwards email while concealing  the identity of the sender. Archie      A type of search engine used to retrieve FTP files stored on anonymous sites. The user must have the exact file name.                                                                                 ARCnet         (Attached Resource Computer network)  which is a simple and economical type of local area network using token ring architecture.                                                   ...

how to turn off your system storage

Image
XP keeps a backup of system files in the System Volume Information folder. This eats up valuable space on your hard, drive. If you don't want Windows to back them up; Step1: Go to Control Panel > System > System Restore.  Check " Turn of System Restore". Step2: Delete the System Volume Information Folder.