FAQ: C Programming Practice Exercises with Answers PDF Download eBook
Learn FAQ: C programming practice exercises with answers to solve computer programming courses worksheet 1 for microprocessors and microcontrollers applications. C programming practice exercises with answers to solve c language quiz with answers for online computer science schools.
"In c language, illustration of one call to a function is called", c language Multiple Choice Questions (MCQ) with choices driver frame, identity frame, stub frame, and activation frame for online software development courses. Learn tracing a recursive function questions and answers with free online certification courses for computer software engineer.
Quiz on C Programming Practice Exercises with Answers Worksheet PDF Download eBook 1
MCQ: In C language, illustration of one call to a function is called
- Identity frame
- Driver frame
- Stub frame
- Activation frame
D
MCQ: Evaluating the following code <code>for(i=0; i<7; ++i) {<br> for (j=0; j<i; ++j ) <br> printf ("%d\n", i*j )} </code>, the ratio of printf statement execution in first call is
- 7
- 1
- 0
- 6
C
MCQ: Using American Standard Code Information Interchange (ASCII) standard character set, the following expression outputs <code>(char) ((int) 'z' -2 )</code>
- w'
- x'
- y'
- z'
B
MCQ: The typical statement used for recursive function is
- default statement
- break statement
- switch statement
- if statement
D
MCQ: The output of the following part of program is <code>product =1;<br>printf("Enter %d to quit \n", SENVAL);<br>printf("Enter first number>");<br>scanf("%d",&dat);<br>while (dat != SENVAL)<br>{ product *=dat;<br>printf("next number> ");<br>scanf("%d",&dat);<br>}</code>
- Compute sum of list of numbers until the sentinel word SENVAL is entered
- Compute product of list of numbers until the sentinel word SENVAL is entered
- Compute average of list of numbers until the sentinel word SENVAL is entered
- Compute product of list of numbers
B