WorksheetsProgramming for Problem Solving
Total questions: 10
Worksheet time: 6mins
Which of the following is an exit controlled loop?
While loop
do while loop
for loop
None of the above
Which of these is NOT a relational or logical operator?
=
||
==
!=
who is the father of C language?
Bjarne Stroustrup
James A. Gosling
Dennis M Ritchie
Dr. E.F. Codd
The #include <stdio.h> is a ______________.
Inclusion directive
File inclusion directive
Preprocessor directive
None of the above
Associativity of an operator is either Left to Right or Right to Left.
True
False
How many keywords are there in C language?
32
33
64
18
Which are the fundamental data types in C?
int
float
char
All of the above
Which is the correct format specifier for int type value in C?
(a)
Which operator is used to find the remainder of two numbers in C?
/
\
%
//
What does the following declaration mean?
int (*ptr)[10];
ptr is array of pointers to 10 integers
ptr is a pointer to an array of 10 integers
ptr is an array of 10 integers
ptr is an pointer to array
