Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Define the Data Type Modifiers in C language?
There are three data types(int, float & double) above have the following modifiers.
1. short 2. long 3. signed 4. unsigned
The modifiers define the amount of storage allocated to the variable. The Integer quantities can be defined as short int, unsigned int or long int. Short int may need less memory than an ordinary int in word length. likewise a long int may require the same amount or more amount of memory but it will never be less than an ordinary int. An unsigned has the similar memory requirements, as an ordinary int. An unsigned int can be roughly twice as large as an ordinary int. Unsigned integer size varies from 0 to 65535 and the unsigned prefix indicates that the object is a nonnegative integer. Every unsigned type provides the same size storage as its signed equivalent. For instance int reserves the same storage as unsigned int and for the reason that a signed type reserves a sign bit an unsigned type can hold a larger positive integer than the equivalent signed type.
The following instance defines the short int variable flag:
short int flag;
The following illustration defines the unsigned long int variable ss_number as having the initial value 438888834: unsigned long ss_number = 438888834; The Data type modifiers, unsigned or signed may be explicitly applied to char while unsigned chars have values between 0 and 255 signed chars have values from -128 to 127. The modifiers long float and long double can as well be used explicitly.
What is the difference among malloc/free and new/delete? A: Malloc/free do not know about destructors and constructors. New & delete create and destroy objects, whereas malloc &
make a program on run time dynamic arrays
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
Many human diseases could be controlled by the knowledge of the gene’s structure and pattern. The human gene could be represented by four nucleotides. Each nucleotide is represente
Implement multiple stacks in a single dimensional array using c.
padovan string problem program 1 : package test.padovanstring; public class PadovanString { public int stringOccurrences(int n, String str){ if(n >= 40)
Overloading Binary Operators class SI {float i,p,n,r,a; public: SI(){}; SI(int gp,int gn, int gr); void putdata(void); SI operator+(SI); }; SI SI::opera
Define the Stream Oriented Data Files? There are two dissimilar types of data files called stream-oriented (or standard) data files and system-oriented (or low-level) data file
Program is to store all ASCII char into a file: void main() { ofstream fout("ascii.txt"); int i,n=256; for(i=1;i { fout }
how many types of loops are there and whay are they and what are its uses
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd