Ask Questions & Get Answers at ibibo sawaal
     Powered by Bixee Crawl
Results 1 - 15 of about 12861 sawaal for "return"
Sort by: Recency | Relevancy

How to use email validation in Java script.Like User cant enter invalid email address?

Mailstrvar at="";var dot=".";var lat=str.indexOfat;var lstr=str.length;var ldot=str.indexOfdot;if str.indexOfat==-1 return false;if str.indexOfat==-1 || str.indexOfat==0 || str.indexOfat==lstr return false;if str.indexOfdot==-1 || str.indexOfdot==0 || str.indexOfdot==lstr return false;if str.indexOfat,lat1!=-1 return false; if str.substringlat-1,lat==dot || str.substringlat1,lat2==do t return

Posted in Computers & Technology by jks marven at 2:38 PM on June 06, 2008

how to disable save, saveAs, Print, Copy and right click on web browser. Please write the code java script

.onselectstart=n ew Function "return false"//if the browser is NS6if window.sidebardocument.on mousedown=disabletextdocumen t.onclick=reEnable</scrip t>Code to disable Print and Save As:Code: text 1.<script language="JavaScript">2.<! --3.function nowaygo if4.document.all if event.button == 2 alertpopup; returnfalse; if document.layers5. if go.which == 3 alertpopup; return

Posted in Computers & Technology by Nagendra at 11:41 PM on June 12, 2008

what is function in c?

functions which return variables and those which dont. C assumes that every function will return a value. If the programmer wants a return value, this is achieved using the return statement. If no return value is required, none should be used when calling the function.Here is a function which raises a double to the power of an unsigned, and returns the result.double powerdouble val, unsigned pow double

Posted in Computers & Technology by kokila vani at 4:12 PM on September 29, 2008
Tags function

Can Any1 Provide me with the code for displaying amount in words.eg if amt is Rs10,000 then it should display Rupees one thousand only.I m using Visual basic

;twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" If the number is 0, return an empty string.If num = 0 Then Return"End If If num = 0, we have hundreds only.If num = 0 Then Return result.Trim See if the rest is less than 20.If num < 20 Then Look up the correct name.result &= " " & onetonineteennum

Posted in Computers & Technology by Himanshu at 7:32 PM on June 21, 2008

What mysqlfetcharray in php?

hi blogger the mysqlfetcharray function returns an associative array, but it also returns FALSE if there are no more rows to return! Using a PHP While Loop we can use this information to our each time the while loop checks its conditional statement.2. When there are no more rows the function will return FALSE causing the while loop to stop!mysqlfetcharray is actually a PHP function

Posted in Computers & Technology by blogger01 at 12:54 PM on May 23, 2008
Tags php

how to find the serial no of the hard disk?

Model get return model; set model = value; public string Type get return type; set type = value; public string SerialNo get return serialNo; set serialNo = value; Next, add a reference to your to match them using their unique DeviceID. Start a thread in this article if you think Win32DiskDrive objects are not the same order as Win32PhysicalMedia objects returned. We are done! Now we display our

Posted in Computers & Technology by swizzsam at 3:31 PM on February 29, 2008
Tags find, serial, hard, disk

What is a subroutine?

which execute a specific task when called upon by a JSR instruction. When a subroutine has completed the task at hand, it returns back to the caller and the callers code continues on with the next to the callers code. The instruction which accomplishes this is called RTS return from subroutine....A routine or subroutine also referred to as a function, procedure, and subprogram is a portion of code that may

Posted in Computers & Technology by rocky singh at 2:09 PM on June 26, 2008

define mysqlfetchrow method?

Here we define mysqlfetchrowmethod with examples are given below-The mysqlfetchrow function returns a row from a recordset as a numeric array.This function gets a row from the mysqlquery function and returns an array on success, or FALSE on failure or when there are no more rows.Syntax:mysqlfetchrowd ataTips and Notes:Note: After the data is retrieved, this function moves to the next row

Posted in Computers & Technology by blogger01 at 12:54 PM on May 23, 2008
Tags define, method

I WAN TO WRITE A PROGRAM TO SORT A LINKLIST IN TURBOC?CAN YOU PLEASE TELL ME HOW TO DO IT

of the list; SwapNodes - swaps two nodes; CompareNodes - returns strcmp compatible codes -1, 0,The last function in the list will return -1 if oNodeLeft is less than oNodeRight, 0 if they are equal, and 1 if oNodeLeft is more than oNodeRight. This mimics the string library, string.h, where the same codes are returned for strcmp and strcmpi string comparison.For more details , Please do visit the source site :http

Posted in Computers & Technology by Nick - at 6:08 PM on June 24, 2008

define mysqlfetchrow method?

well, The mysqlfetchrow function returns a row from a recordset as a numeric array.This function gets a row from the mysqlquery function and returns an array on success, or FALSE on failure or when there are no more rows.Syntax :---mysqlfetchrowdatab ool makerecordfromresultset MYSQLRES results, record osirecord MYSQLROW row;...unsigned long lengths;if results == NULL || osirecord == NULL return FALSE

Posted in Computers & Technology by Sharad Singh at 9:11 PM on May 15, 2008
Tags define, method

Functions in C? ...

function is a section of code that has some separate functionality or does something that will be done over and over again. Its always good to learn by example. Lets write a function that will return the square of a number.int squareint x int squareofx; squareofx = x x; return squareofx;In generalIn general, if we want to declare a function, we write type nametype1 arg1, type2 arg2, ... / code

Posted in Computers & Technology by gilli... at 7:36 PM on November 04, 2008
Tags functions

what is function prototype?

The function prototype can be defined as-A declaration of the types of parameters expected by a function and of the type of the result it returns. ANSI C requires function prototypes for all functions you define.A declaration of a function to the compiler indicating what types of parameters are passed to it and what value is returned. The compiler can then report an error if a function within

Posted in Computers & Technology by neha sandhu at 11:45 PM on October 06, 2008
Tags function

I have a function that is supposed to return a string, but when it returns to its caller, the returned string is garbage. ?

Whenever a function returns a pointer, make sure that the pointed-to memory is properly allocated. For example, make sure you have not done something likeinclude <stdio.h>char itoaint nchar retbuf[20...];/ WRONG /sprintfretbuf, "d", n;return retbuf;/ WRONG /When a function returns, its automatic, local variables are discarded, so the returned pointer in this case is invalid it points

Posted in Computers & Technology by R Singh at 3:55 AM on December 22, 2008

I have a function that is supposed to return a string, but when it returns to its caller, the returned string is garbage. ?

Make sure that the memory to which the function returns a pointer is correctly allocated. The returned pointer should be to a statically-allocated buffer, or to a buffer passed in by the caller, or to memory obtained with malloc, but not to a local auto array. In other words, never do something like char f char buf[10...]; / ... / return buf; One fix which is imperfect, especially if f is called

Posted in Computers & Accessories by Ashok Kumar at 10:12 PM on December 06, 2008
Refine By Date
sawaal signature
sawaal free visiting card