SE_ Kỳ 1 PRF 192 exam real questions and answers for winter 2022 coming exam update
SE_ Kỳ 1 PRF 192 exam real questions and answers for winter 2022 coming exam update Once the function ends, the control is returned back to the ... function and execution continues from the statement immediately after the function call a. executing d red ng what number is equivalent to -4e3? a.-4000 b.-400 c..004 d..0004 e.-40 what is the output when the sample code below executed? #includestdio.h int fn(int v){ if(v==1||v==0) return 1; if(v%2==0) return (fn(v/2)+2); else return(fn(v-1)+3); } int main() { printf("%dn",fn(5)); return (0); } a.6 b.9 c.8 d.7 e.5 which 2 options are correct about the function scanf? a.EOF indicates that scanf filled all addresses successfully b. scanf returns the number of addresses successfully filled of EOF n avoid type d.EOF indicates that scanf did not fill any address AND encountered an end of data character. what is the output when the sample code below is executed? int s=35; printf("%d%d%d",s==35,s+20,s40) a.1 35 1 b.1 55 1 c.0 55 0 d.1 55 0 according to the standard C specification, what are the respective minimum sizes (in bytes) of the following two data type: int and long? a.2,8 b.4,8 c.2,4 d.2,2
Document information
- Uploaded on
- November 17, 2022
- Number of pages
- 41
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers