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!
Example for Register Storage Class - computer programming?
main(){ register int i; for (i=0; i< LIMIT; ++i) { ............... ...............} } /* block exit will free the register.*/ Although we have declared the storage class ‘i' as register we can't say for sure that the value of i would be stored in a CPU register because the number of CPU registers are limited. And they perhaps busy doing some other work. In such situations the variable works as if its storage class in 'auto'. For all time remember that a register declaration is taken only as advice to the compiler.
We can't use register storage class for all kinds of variables. The subsequent declarations are not correct.
register float q; register double a; register long c;
This is for the reason that the CPU registers in a microcomputer are typically 16 bit registers and therefore cannot hold a float or double value which requires 4 and 8 values respectively. It would not give any error message, other than works as auto storage class.
Explain Operator Overloading It is one type of Polymorphism, an significant feature of object-oriented programming .Polymorphism means one thing having many forms, i.e. here an
in this problem you are given a board in which some of the elements are placed as shown in below diagram.each element represent a color.fill the other element in the board,such tha
In this assignment the main has been written for you in the file phone_book_main.cpp. You will also notice that a class called Person has been declared as having several prototypes
Ask question #Minimum 300 words accepted#
write a atm program in c with inbuilt functions for 1782?
b) The static keyword let a variable to maintain its value among distinct function calls. If the value of a static variable alters while the variable has been accessed, variable
What are Id e n t i f ie rs a n d C o n s t a n ts in C++? Id e n t i f ie r a n d C o n s t a n t : I d e n t i f ie r
Consider the following algorithm to generate a sequence of numbers. Start with an integer n. If n is even, divide by 2. If n is odd, multiply by 3 and add 1. Repeat this process wi
write a function that take as parameters an array of integer and its size and return the sum of its value
Damjibhai and Shamjibhai are two jeweler friends. They decide to play a simple game. The game comprises of removing the jewels for polishing, turn by turn. Once a jewel is removed
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