Welcome back to Friday and Quiz V5.0: C Language Programming. New to you? (Not the language…the quiz) If this is your first Quiz Day Friday, then you might want to check out the four previous quizzes:
Quiz V1.0 on General Electronic and Electrical Engineering
Quiz V2.0 on Common Engineering Abbreviations
Quiz V3.0 Electronic and Electrical Engineering – Intermediate
Quiz V4.0 Computer History
We are midway through our ten Quiz Day Fridays courtesy of top members of the Electro-Tech-Online community members including: 3vO,DerStrom, Ian Rogers, Pommie, Roman Black, Reload Ron, JimB,MrAl, and ericgibbs.
This week’s Quiz V5.0 C Language Programming is from Super Moderator Ian Rogers. An electronics engineer and programmer, Ian is also the owner of an electronics company making mobile crane displays and indicators.Since 2011, Ian has contributed to nearly 6000 discussions in the forums and quite a few articles including a tutorial series on the 8051 micrcontroller.
We list the questions below just to give you a heads-up, but you’ll find the complete quiz — with the multiple choice options — HERE.
Quiz V5.0 C Language Programming
1. What value will ‘x’ hold after the following code is run…?
2. What character is used to end a line of C code…?
3. Which of the following is the correct equality operator..?
4. Which of the following correctly declares an array…?
5. Which syntax is used for a typecas…t?
6. Which is not a C loop structure…?
7. What ascii character ends strings in C…?
8. In the following code.How many characters will print?
for(x=’A’; x <‘z’; x++);
{
printf(“%c”,x);
}
9. Which is NOT a valid C operator…?
10.Which of these identifiers are valid…?
Think you know the answers? Click here take the quiz!
See you next Friday…