Basic Pointer/Address QuestionThe dereference operator (*) is used with the pointer variable to get the value stored at that addre...
Get the last digit of a numberuse %10 to get the last digit of the number.
help i dont understand the questionIt is asking for an explanation of compound statement: b = ++a * 5; is equivalent to a = a + 1; b...
Last digit of the factorial of an integerThe code will be: [code]#include <iostream> using namespace std; int main() { int casos;//casos is...
for loop printing number and spaces[code]#include<iostream> using namespace std; int main() { for(int i=0;i<5;i++) { for(int k=...
This user does not accept Private Messages