PRF 192, Top Exam Questions and answers. 100% Accurate. VERIFIED.
PRF 192, Top Exam Questions and answers. 100% Accurate. VERIFIED. 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
Written for
- Institution
- PRF 192
- Course
- PRF 192
Document information
- Uploaded on
- August 12, 2023
- Number of pages
- 11
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
prf 192
-
top exam questions and answers 100 accu
Also available in package deal