Saturday, 19 August 2017

Identifiers in c

                       IDENTIFIERS

·      Identifiers refers to the Name of program elements such as variables, functions ,and arrays.
·      Identifiers can be reasonable length of 8-10 characters through certain computers and it will allow maximum 32 characters.
·      Identifiers name must start with an alphabet or underscore followed by letter digit or combination of both.
·      The underscore (_) symbol is generally in the middle of an identifiers.
·      Identifiers are sequence of characters chosen from the set A-Z,a-z,0-9,and_ (underscore).
·      C is a case sensitive language it will differ C LANGUAGE and c language these both are different.
·      C has a list of keywords that cannot be used anywhere other than the predefined in the language.

·      EX: you should not declare the variable name as  int. because it is a keyword the vendor is already declared as predefined. Not only Int there is a 32 key words in c .

Wednesday, 16 August 2017

vairables in c

VARIABLES IN C
VARIABLE: Variable is an identifier used to store a single data item. This data could be a numerical quantity or character constant.
During execution of a Program we must   declare a variable.
·      A variable can take a different values at different times during the execution of a Program.

·      The data stored in the variable can be accessed anytime, by referring to the variable Name
Ex:  int  x=1;
int is a data type and x is a variable and 1 is a value
Above we have declared a variable and we initialized a value in variable.

 

Sunday, 13 August 2017

JAVA PROGRAMMING DATA TYPES

The int method is called only once. It is called only when the data type is created, and not called for any user requests afterwards. So, it is used for one-time to initialize the data, just as with the init method of applets.
The data is normally created when a user first invokes a URL corresponding to the servlet, but you can also specify that the data be loaded when the server is first started.
When a user invokes a servlet, a single instance of each servlet gets created, with each user request resulting in a new thread that is handed off to doGet or doPost as appropriate. The init() method simply creates or loads some data that will be used throughout the life of the servlet.
The init method definition looks like this:

ex:
public void init() throws DataException {
  // Initialization code...
}
The service() Method The service() method is the main method to perform 

OPERATERS

"Don't Review Skip": Fans Troll Tim Paine For Poor DRS Challenge On Day 3

India vs Australia: Tim Paine was again in the firing line as his poor DRS call against Mayank Agarwal cost Australia a review on Day 3 of t...