stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
C Programming Flashcards | StudBud
Explore
/
C Programming
C Programming
13 terms
·
StudBud Administration
Test for C Programming
Flashcards
13 cards
F
Practice quiz
P
Host live
L
Questions
13
Answers
1
#include<stdio.h>
Enter a number:99 Number is divisible by 5
Enter a number:99
Run time error
complier error
2
How many loops are there in C
1
4
3
2
3
How many keyword available in C language?
33
30
32
31
4
What is the general form for declaring a variable in C language
datatype name;
name datatype;
datatype name
name datatype
5
Single line comment in C language begins with _______
/*
:
*/
//
6
C language has been developed by ?
Ken Thompson
Peter Norton
Martin Richards
Dennis Ritchie
7
Which of the following header file is used for performing mathematical operations?
conio.h
stdio.h
dos.h
math.h
8
The statement used for printing \n on the screen is:
printf("\n");
printf("");
printf("\\n");
printf("n\");
9
Which of the following method used to receiving input values from keyboard
printf
scan
print
scanf
10
What is the only function all C programs must contain?
program()
system()
start()
main()
11
what value does the OS return after successful completion of a program?
1
does not return a value
0
-1
12
Which of the following operator takes only integer operands?
+
*
%
/
13
Which one of the following is not a valid identifier?
exam_veda
_examveda
examveda1
1examveda