Write a single instruction that will find the remainder of
integral division when x is divided by y. Have the answer
stored in z.
Answer Posted / nithin devang
z=x%y;
my answer surety %=60%
_Nithin Devang
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is stoi in c++?
What is a stack c++?
Do vectors start at 0 c++?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What is the importance of mutable keyword?
Do you know about latest advancements in C++ ?
What are the vectors in c++?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
Why do we use using namespace std in c++?
What is virtual base class?
What is vector processing?
What is the difference between strcpy() and strncpy()?
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include What is the purpose of ios::basefield in the following statement? What is an object in c++?