Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in pointer-arithmetic

Why scanf("%s",&str); behaves as scanf("%s",str);? [duplicate]

Accessing bytes in a long long variable with pointers

Is computing a pointer to uninitialized memory undefined behavior in C?

Pointer Arithmetic & Signed / Unsigned Conversions!

c pointer-arithmetic

Increase a struct pointer with half the struct size

c c89 pointer-arithmetic

Represent sum of random access iterators as a random access iterator

C++ primer 5 ed. : using sort on a vector of pointers is it undefined?

Is it guaranteed that array elements in C will be stored consecutively, with no padding?

Pointer of array, what is the difference between (*ptr)[] and *ptr[]

Pass n characters from string to function in C

Computing the address of the memory position before an external symbol in C

Trouble understanding char* and string in CS50

Is it well-formed to do pointer arithmetic on a pointer returned from an allocator?

Are indexes easier to vectorize than pointers?

C++, static array, pointer, length

What C compilers have pointer subtraction underflows?

Why am I getting segfault when changing the signature of main?

Why is the printf statement in the code below printing a value rather than a garbage value?

Move pointer one byte