C Language Basics

Quiz
•
Computers
•
University
•
Hard
Dr Reddy
Used 81+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which header file is required to perform standard input and output opeartions
math.h
stdio.h
input.h
io.h
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct identifier?
int
1ab
a_123
a 123
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
what is the output of the following statement?
printf("hi\nhello\nhow\bare\ryou");
hi
hello
how
are
you
hi
hello
hoare
you
hi
hello
youre
hi
hello
youare
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who is the father of C language?
Dennis Ritche
Charles Babbage
Steve Jobs
V Kohli
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C variable name?
int num;
float price;
char a_s;
int $total;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The C-preprocessors are specified with _________ symbol.
$
#
&
*
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the sizeof(char) in a 32-bit C compiler?
1 bit
2 bits
1 byte
2 bytes
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Quiz 1 Review - CS125

Quiz
•
University
30 questions
C Programming Quiz (Entry for Data Structures)

Quiz
•
University
30 questions
OODP_Batch 1_Quiz

Quiz
•
University
25 questions
Review ETS Coding

Quiz
•
University
25 questions
C Quiz 1

Quiz
•
University
30 questions
Think Tank Tuesday

Quiz
•
University
30 questions
Code debugging - Round 1

Quiz
•
University
25 questions
Java Review

Quiz
•
9th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade