Get data type: If you want to see the value and type of an expression, use var_dump ().If you just want an easy-to-read type of expression for debugging, use GetType ().To view a type, do not use GetType () and use the Is_type () function.Convert
About the C language pointer type cast reference an article:In C, any variable must occupy an address, and the 0-1 code in that address space is the value of the variable. Different data types occupy varying sizes of space, but they all have to have
Conditions for casting:1. When the declared type does not satisfy the variable of the character value, the type of the declaration needs to be converted so that the variable can be stored.For example: The maximum value for short storage is 32767,
First two links to explain my doubts:Http://en.cppreference.com/w/cpp/language/operator_arithmeticHttps://msdn.microsoft.com/en-us/library/3t4w2bkb.aspxAt first I was looking at > This book (Chinese translation c expert programming), Chapter 1
You can only initialize an array when you define it, you cannot assign an array to another array, but you may assign a value to an array element by using the subscript, but you can assign a string object to another string object
If only one part
PHP is a loose type of language, do not have to use the variable to do a special definition, which gives the program to write a lot of flexibility and convenience. But in the process of programming, we need to know what kind of variables we use,
Objective 2)
Determine the result of applying the Boolean equals (Object) method to objects of any combination of the classes Java.lang. String Java.lang.Boolean and Java.lang.Object.
The Equals method can is considered to perform a deep comparison
1. VariablesNaming rules:A can only be a letter (A-Z), Number (0-9), underscore (_)b cannot start with a numberc cannot be a keyword in C #Naming conventions:A short, semantic word or combinationB Camel nomenclature (start with the second word,
The data type of the variable can be converted. There are two ways of converting, one is auto-conversion and one is casting.
Automatic conversion
Automatic conversion occurs when the volume blending operation of different data types is done
Objective C # Principle 28: Avoid Conversion
Item 28: avoid conversion Operators
A conversion operation is a conversion operation between substitutability. A class can replace another class. This may be a good thing: An object of a derived class
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.