WorksheetsC Programming
Total questions: 15
Worksheet time: 7mins
C was developed by
Ritchier
Dennis Ritchie
Martin Richard
Ken Thompson
What will happen when the following code is executed?
#include<stdio.h>
void main()
{
printf("MIET");
}
Wrong statement
It will keep on printing MIET
It will print MIET once
None of these
(a) is the C preprocessor directive
The key used to view the output of the program ______
Alt + F5
Ctrl + F9
Alt + F9
Ctrl+F5
Every C Statement in C must end with ____
;
:
,
.
The logical beginning of a program is _______
#include<stdio.h>
main()
#
{ }
The header file related to clrscr() is (a)
Language C supports (a) programming approach.
The statements enclosed within _________ are called a Block.
( )
[ ]
{ }
#
The shortcut key used to compile & run the code __________
Ctrl + F5
Ctrl + F9
Alt + F9
Alt + F5
The shortcut key used to compile the code __________
Alt +F9
Alt + f5
Ctrl + F9
Ctrl + F5
(a) data type is used to hold individual characters.
Which data type stores maximum of 10+38
float
char
string
double
A variable in C can have maximum of (a) characters
___________ is the assignment operator.
>=
=
!=
==
