22 Following the declaration double ptr you must assign to ptr a. a variable of
ID: 3585690 • Letter: 2
Question
22 Following the declaration double ptr you must assign to ptr a. a variable of type double. b. the address of a variable of a floating-point type c. the address of a variable of type double. 23 Given the declarations void func(double pl, double p2), double x=1.1,y-22; you can call the function func() using a. func(x, yx b find&x;, &y;); c. func(*x, *y); 24. In the equation x _ y % z, y and z are both nt. Variable x isadouble, y-35·and z- What will be the value of the variable x? a. x 4.0000000000 25. Which if statement would be true if you needed to see if x (an int) is less than 25? a. if (x>0 &&x; 26) 26. Which of the symbols below is a logical operator? b. 1 d. 27. The length of a string is discovered by a call to the size( )operation. a. True b. FalseExplanation / Answer
22. Double *ptr;
Ans: the address of variable of type double ( c )
Because here the data type is double
23. Func (*x,*y) ( c)
It is the only option that calls the syntax of the function passing the x value in place of p1 and y value in place of p2
24 option b is the answer
The modulus value means a remainder and the remainder of 35 & 6 is 5
But here x value is double so the value is ( option b )
25 option a is the correct answer
If( x >0 && x<25)
26 logical operator is option ( b )
27 option (b ) false
the length of a string is called by lenght but not size
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.