Tutor profile: Safish M.
Subject: PHP Programming
Differentiate between indexed and associative arrays in PHP.
Indexed arrays use numbers as index values. Associative arrays are defined with key=>value pairs where keys act as the indexes. The keys can be either numbers or strings. ie) Associative arrays can also use strings as index values.
Subject: Java Programming
What is the use of the final keyword in Java?
1) A variable declaration preceded by the final keyword means the value assigned to the variable is final and it cannot be changed. Treats the variable as a constant. 2) A method declared with final as the first keyword means the method cannot be overridden further. 3) A class declared with final keyword means the class cannot be derived.
Subject: C Programming
What is the return type of the main() function in C?
All functions except those return an integer result must specify a return type in the function header. The main() function returns an integer value to show the successful execution or abnormal termination of the function. A zero value is returned for successful execution.
needs and Safish will reply soon.