Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
we are now quite happy to use the basic mathematical expressions however in engineering we use scientific functions ie sin cos ln etc
within programs we very often want to execute a different section of code depending upon various conditions within c the if statement is used to
write a c program to compute the factorial of 5 ie 1x2x3x4x5 etcwrite a c program to calculate the output y for a given value of x for the
step 1 define the program headers and the variables include ltstdiohgt include ltmathhgt include ltstringhgt include
mathematical statements and assignments within c we can directly load up the variable from within the program using the mathematical
write a c program to input five numbers and print them out on a new linewrite a c program to input three real numbers and print them out as
step 1 define the start of the program it should be noted that within c all commands should end in a semi-colon for most of your programs the
data is required to be fed into the program input and sent out of the program output considering the draughtsman using a cad station the input
we can combine more than one variable on the same line ie float number1number2number3 etcsometimes we want to mix the variable types used on the
within software languages we have the ability to store information in mail boxes ie memory slots which are given names to represent the box the
all languages are divided into six sections - variables io maths conditional expressions arrays functions subroutines and file handlers learning
i3939m trying to write a function that prints the substring if it is found in the string and after it prints it deletes it from the string so i could
record separation problem let us assume that a particular database program manages a simple mailing list which consists of one record for each
overloading a method or function in c is the ability for functions of the similar name to be defined as long as these methods have dissimilar
semaphore is used to synchronize processes whereas mutex is used to give synchronization among threads running in the similar
the ability to verify at run time the type of an object by using the typed operator or the dynamiccast
a conversion constructor declared with the explicit keyword the compiler does not use an explicit constructor to execute an implied conversion of
when you are designing a generic class to have or otherwise manage objects of other types when the format and behavior of those other types are
there are 3 acceptable answers never rarely and when the problem domain cannot be accurately modelled any other way
what is the difference among a copy constructor and an overloaded assignment operatorans a copy constructor constructs a latest object by using the
a constructor that accepts one argument of a dissimilar type
there are two ways for initializes in c as shown in the example that follows the first way uses the traditional c notation the second way uses
it tells the compiler that a variable or a function exists even if the compiler hasnt yet seen it in the file presently being compiled this variable
what is the difference between an external iterator and an internal iteratorans an internal iterator is executed with member functions of the class
a virtual function permits derived classes to replace the implementation given by the base class the compiler makes sure the replacement is always