Tuesday, 21 July 2020

Full Pyramid program | C Language

Full pyramid program and size is given by user



Code :


#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Full pyramid program
==============================*/

Monday, 20 July 2020

Table multiplication of given number

Q : Write program to generate multiplication table for first ‘n’  number, where ‘n’ is a user input.


Answer : 



#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Multiplication table of given number
==============================*/

Sunday, 19 July 2020

Extern Variable



External variables are used to make global variables. Extern variable defined outside the function. These variables are available globally throughout the function execution. The value of global variables can be modified by the functions. “extern” keyword is used to declare and define the external variables.

Cookies PHP


A cookies is a variable set on server normally used to identify a user.  A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. A cookie can only be read from the domain that it has been issued from.


Syntax 

setcookie(name, value, expire, path, domain, secure, httponly);


  1. Name: It is used to set the name of the cookie.
  2. Value: It is used to set the value of the cookie.
  3. Expire: It is used to set the expiry timestamp of the cookie after which the cookie can’t be accessed.
  4. Path: It is used to specify the path on the server for which the cookie will be available.
  5. Domain: It is used to specify the domain for which the cookie is available.
  6. Security: It is used to indicate that the cookie should be sent only if a secure HTTPS connection exists.