
c quiz

Quiz
•
Computers
•
University
•
Hard
Jahnavi Siddavaram
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Who is the father of C language?
Steve Jobs
James Gosling
Dennis Ritchie
Rasmus Lerdorf
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Which of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which of the following cannot be a variable name in C?
volatile
true
friend
export
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which of the following declaration is not supported by C language?
String str;
char *str;
float str = 3e2;
Both “String str;” and “float str = 3e2;”
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?
Standard input
Standard output
Standard error
All of the mentioned
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. What is meant by ‘a’ in the following C operation?
fp = fopen("Random.txt", "a");
Attach
Append
Apprehend
Add
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What will be the output of the following C code?
#include <stdio.h>
int main()
{
int y = 1000;
int y = 34;
printf("Hello World! %d\n", y);
return 0;
}
Compile time error
Hello World! 34
Hello World! 1000
Hello World! followed by a junk value
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Programming in C(1)

Quiz
•
University
20 questions
Linux 3-4

Quiz
•
University
20 questions
Python 1

Quiz
•
University
10 questions
Programming for Problem Solving

Quiz
•
University
10 questions
unidad4

Quiz
•
University
20 questions
ROUND 1 QUIZ FOR 1ST YEAR

Quiz
•
University
20 questions
Python Básico 1

Quiz
•
University
16 questions
De todo

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University