Basics Of C Programming

Quiz
•
Computers
•
University
•
Hard
mahesh kanase
Used 437+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which header file can be used to define input/output function prototypes and macros?
- math.h
- memory.h
- stdio.h
- dos.h
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The correct order of evaluation for the expression “z = x + y * z / 4 % 2 – 1”
* / % = + -
/ * % - + =
- + = * % /
* / % + - =
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many times CppBuzz.com is printed?
int main()
{
int a = 0;
while(a++);
{
printf("CppBuzz.com");
}
return 0;
}
0 time
1 time
Compilation Error
Infinite times
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times CppBuzz.com is printed on console?
int main()
{
int a = 0;
while(a++)
{
printf("CppBuzz.com");
}
return 0;
}
Nothing is printed on screen
0 time
1 time
Infinite times (Untill Stack overflow)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output of below program?
int main()
{
int i,j,count;
count=0;
for(i=0; i<5; i++);
{
for(j=0;j<5;j++);
{
count++;
}
}
printf("%d",count);
return 0;
}
55
54
1
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output of below program?
int main()
{
int i;
for(i=0; i<5; ++i++)
{
printf("Hello");
}
return 0;
}
Hello is printed 5 times
Compilation Error
Hello is printed 2 times
Hello is printed 3 times
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Identifier in C Language.?
Name of a Function or Variable
Name of a Macros
Name of Structure or Union
All the above.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
BASIC C QUIZ

Quiz
•
University
15 questions
C++ Quiz-1

Quiz
•
University
10 questions
C++ Array

Quiz
•
University
10 questions
Java Programming Basics

Quiz
•
University
10 questions
Analysis of Algorithms

Quiz
•
University
10 questions
DAA Quiz 1

Quiz
•
University
10 questions
AFP Midtvejsevaluering

Quiz
•
University
10 questions
Pemrograman C++ - 1

Quiz
•
University
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
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University