Posts

Function and Arguments

XII class notes...., Arguments and parameters.... Arguments are the values which are passed while calling a function. Parameters are the values which are provided at the time of function definition e. g. def sum(a,b):   .......,...>parameters       s=a+b       return s x = 12 y = 56 t = sum( x, y)    ...............> arguments Type of arguments...... There are 4 types of arguments.. 1)   Required / Positional arguments        Arguments passed to a function       in correct positional order,           no. of arguments must match      with no. of parameters required       e.g def sum(a,b):   .......,...> 2 parameters       s=a+b       return s x = 12 y = 56 t = sum( x, y)    ............> 2 arguments In above example argument x is copied to para...
No.  1 .  Name the header files(s) used for the following function.                 4           (i) strcmp( )      (ii)    fabs( )    (iii)   toupper( )    (iv)    setw( )              Q. No.  2 .     Rewrite the following code after removing syntactical error(s), if any.                               Underline each correction:                                                                                                  4           #inc...
City= 'Delhi

SQL Command

All the students please follow my blog