FIND THE ANSWERS

Explain the basic concept of Pointer addition and subtraction. Also give one example program for each.in c?

Answer this question

  • Explain the basic concept of Pointer addition and subtraction. Also give one example program for each.in c?


Answers

Answer #1 | 23/12 2013 12:09
watch?v=Rxvv9krECNw https://www.youtube.com/watch?v=Rxvv9kr ECNw Everything u need 2 know about pointers -Richard Buckland
Positive: 31 %
Answer #2 | 23/12 2013 21:20
include #include void foo(const unsigned *oa, size_t oa_len) { size_t i; static const char *s = "The quick brown fox jumped over the lazy dog!"; for (i = 0; i < oa_len; i++) putchar(toupper(*(s + *(oa + i)))); putchar('n'); } int main(void) { static unsigned thing[] = { 1, 12, 25, 12, 11, 44, 3, 1, 12, 25, 12, 11, 3, 1, 12, 25, 12, 11, 3, 1, 12, 25, 12, 11, 3, 1, 12, 25, 12, 11, 44 }; foo(thing, sizeof thing / sizeof thing[0]); return 0; } put i++ to i-- for subtraction
Positive: 25 %

Possible answer

Calculus/Differentiation/Differentiation Defined. ... also called the ... up functions is the addition rule. The Addition and Subtraction ...
Read more
Positive: 31 %
that helped them learn basic facts as students may also work for ... the smaller number and add one. For example, ... Addition Subtraction, ...
Read more
Positive: 26 %
Example #1: Arithmetic Operators // C Program to demonstrate the working of ... These two operators can also be used as ... addition, subtraction, ...
Read more
Positive: 12 %
... technical details and syntaxes of the C++ programming language. ... to understand your programs. For example, ... (such as addition '+', subtraction ...
Read more
Positive: 10 %

Show more results