Mention what are the type of integers does Swift have?

Answer Posted / iosraj

Swift provides unsigned and signed integers in 8, 16, 32 and 64 bit forms. Similar to C these integers follow a naming convention. For instance, unsigned integer is denoted by type UInt8 while 32 bit signed integer will be denoted by type Int32.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are regular expression and responder chain in swift?

611


Is "swift" a good programming language? Explain

464


What is mvc architecture in swift?

491


How you define variables in swift?

529


Do try catch swift?

438






Does swift support multiple inheritance?

472


How will you define base class?

455


Can enum conform to swift protocol?

437


What is the use of break statement in swift language?

474


Is swift faster than java?

440


What is the difference between array and nsarray?

514


What are jsonencoder and jsondecoder?

485


What is difference between weak and strong in swift?

476


Explain dictionary in swift.

477


What is the use of static keyword in swift?

465