Prf 192 final2 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Prf 192 final2? On this page you'll find 1 study documents about Prf 192 final2.
All 1 results
Sort by
-
PRF 192 final2, Top Exam Questions and answers, Graded A+
- Exam (elaborations) • 9 pages • 2023
- Available in package deal
-
- $9.49
- + learn more
PRF 192 final2, Top Exam Questions and answers, Graded A+ 
 
 
1. 
 int arr[]= {0, 2 , 0, 6) 
 printf("%d", *arr); 
a) 0 
b) 
c) NULL 
d) error - -answer: a 
 
2. 
 a = 1; 
 b = 7; 
 if(a || b++) 
 b++; 
 printf("%d", b); 
a) 7 
b) 1 
c) 8 
d) 9 - -answer: c 
 
3.What is the output when the sample code below is executed? 
 char mess[] = "abc"; 
 char* ptr; 
 ptr = mess + strlen(mess); 
 while(ptr > mess) printf("%s", --ptr); 
a) abcd 
b) error 
c) cbcabc 
d) abcabc - -answer: c 
 
4...
Fear of missing out? Then don’t!
Do you wonder why so many students wear nice clothes, have money to spare and enjoy tons of free time? Well, they sell on Stuvia! Imagine your study notes being downloaded a dozen times for $15 each. Every. Single. Day. Discover all about earning on Stuvia