python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How does the expression *++ptr is different from ++*ptr?
Can somebody explain why in the output 3 4 4 is getting printed instead of 4 4 4?
#include <stdio.h>
int main(){
int a[] ={0,1,2,3,4};
int *p[] = {a,a+1,a+2,a+3,a+4};
int **ptr= p;...
Kushagra Sinha
Votes: 0
Answers: 1
dereferencing function pointer to function returning void throws error: void value not ignored as it ought to be
I am a beginner in C language. Read various SO threads on function pointers. For instance, How does dereferencing of a function pointer happen, Function Pointer - Automatic Dereferencing [duplicate], ...
Singh
Votes: 0
Answers: 1
Can't show the table
im new to programing and i need to do this work that i simulate a football league.
First i define my struture and next i make a function [void def_equipa(struct s_equipa *equip, int i)] to difine the ...
Ricardo
Votes: 0
Answers: 1
Assembly MOV and dereferencing
I came across this line from a textbook.
mov var, 10 ;var contains 1 at 0xA
mov RAX, [var+5] ;This will add 5 to the address already held by var, then dereference the n...

Julian mind
Votes: 0
Answers: 0