PRF 192 top Exam Questions & Answers. 100% Accurate. Graded A+
PRF 192 top Exam Questions & Answers. 100% Accurate. Graded A+ b - -1. Every statement in C must end with a (a) period (.) (b) semicolon (;) (c) colon (:) (d) backslash (/) a - -2. Two special operators are used with the pointer are ______ and _____. A. There is no correct answer B. & and ? : C. * and / D. ^ and % c - -3. The function strcpy() does one of the following A. Copies the string from source to the buffer B. Replaces specified characters of source with specified characters of destination C. Copies the string from source to destination D. Appends the string to the anthor b - -4. Ouput ? int a=8, b=1; int c = a b; printf("%d", c); A. 1 B. 4 C. 8 D. 2 E. 32 d - -5. The statement _____ is used to write a string "PRF192" into ouput text file. A. fprintf (fo, 'PRF192') B. fprintf (fo, "PRF192") C. printf(fo, "PRF192") D. printf("PRF192") d - -6. Ouput ? int d=49; printf ("#%c#",d); A. ## B. Compil Error C. #A# D. #1# E#a# c - -8. Which statement is false ? A. The good programming pratice is to break line after a comma in a lengthy comma-separated list B. Statement and comments may be split over several lines C. The equals sign (=) is not an operator D. It is not correct to split an identifier with a space, a tab or a neulice c - -8. Ouput ? char c='0'; printf("%d", c); A. 32 B.97 C. 48 D. 65
Document information
- Uploaded on
- August 12, 2023
- Number of pages
- 11
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers