C Programming

Quiz
•
Computers
•
Professional Development
•
Hard
Mragank Singhal
Used 1K+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the 16-bit compiler allowable range for integer constants?
-3.4e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will happen when the following code is executed?
void main()
{
printf("MIET");
main();
}
Wrong statement
It will keep on printing MIET
It will print MIET once
None of these
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the result after execution of the following code if a is 10, b is 5, and c is 10?
if ((a > b) && (a <= c))
a = a + 1;
else
c = c+1;
a = 10, c = 10
a = 11, c = 10
a = 10, c = 11
a = 11, c = 11
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which one of the following is a loop construct that will always be executed once?
for
while
switch
do while
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Directives are translated by the
Pre-processor
Compiler
Linker
Editor
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following will copy the null-terminated string that is in array src into array dest?
dest = src;
dest == src;
strcpy(dest, src);
strcpy(src, dest);
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will the result of 'num' variable after execution of the following statements?
int num = 58;
num % = 11;
3
5
8
11
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
JavaScript and Frameworks Quiz

Quiz
•
Professional Development
9 questions
HANA Modelling

Quiz
•
Professional Development
10 questions
HTML_T3

Quiz
•
Professional Development
5 questions
FORMAT FORMULIR DALAM HALAMAN WEB

Quiz
•
Professional Development
10 questions
C Programming Quiz

Quiz
•
Professional Development
13 questions
Grafika na stronie html css

Quiz
•
Professional Development
13 questions
HTML Quiz

Quiz
•
Professional Development
5 questions
Module 9: Pointers

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development