Can someone please help me with these 3 questions. I have no idea on them. Thank
ID: 3697945 • Letter: C
Question
Can someone please help me with these 3 questions. I have no idea on them. Thanks in advance. This is from C99 and Unix if that helps.
Assume that the following function appears in a working program. int addIntegers (int a, int b)return (a + b): ) Somewhere in the main function a pointer to this function is defined. int ("addintPTR)(int,int) addIntPTR &addIntegers; This pointer is then used later in the program. int x 5, y =-2; int VAR = addInte gers( ("addIntPTR)(x,("addIntPTR)(x,y)) , ("addIntPTR)(100,y *-1)); What is VAR equal to? O VAR=10 O VAR= 8 O VAR= 108 O VAR= 110 O VAR= 100Explanation / Answer
Multiple Questions : Answering one (Question 2)
line 2 : #define STEP 2
line 5 : int i=1;
line 6 : while(i<100)
line 8 : if(i%STEP == 0)
line 9 : printf("%d ",i);
line 10 : i+=1;