C Programming

Quiz
•
Computers
•
Professional Development
•
Hard
karthick k
Used 20+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following has a global scope in the program?
Formal parameters
Constants
Macros
Local variables
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about functions is false?
The main() function can be called recursively
Functions cannot return more than one value at a time
A function can have multiple return statements with different return values
The maximum number of arguments a function can take is 128
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct way of treating 9.81 as a long double?
9.81L
9.81LD
9.81D
9.81DL
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function would you use to convert 1.98 to 1?
ceil()
floor()
fabs()
abs()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the output of the following code segment:
// Add stdio.h header file in below code
int main()
{
int x = 6;
int y = 4;
int z;
if(!x >= 5)
y = 3;
z = 2;
printf("%d %d", z, y);
return 0;
}
4 2
2 4
2 3
3 2
Similar Resources on Wayground
7 questions
Async Await

Quiz
•
Professional Development
10 questions
Kuis Array

Quiz
•
Professional Development
10 questions
Ôn tập bài 27, 28 - k10

Quiz
•
Professional Development
10 questions
Structure Data Review

Quiz
•
University - Professi...
10 questions
Модуль 1. Введение в язык программирования C++.

Quiz
•
Professional Development
8 questions
Javascript (Parte I)

Quiz
•
Professional Development
10 questions
Java Encapsulation

Quiz
•
Professional Development
10 questions
Day 2 C Programming quiz

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